spirv: Set nir_variable->explicit_binding
When SpvDecorationBinding is encountered in the SPIR-V source it now sets explicit_binding on the nir_variable. This will be used to determine whether to initialise sampler and image uniforms with the binding value. Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:

committed by
Alejandro Piñeiro

parent
386f09be9b
commit
b995bda9bc
@@ -456,6 +456,7 @@ struct vtn_variable {
|
||||
|
||||
unsigned descriptor_set;
|
||||
unsigned binding;
|
||||
bool explicit_binding;
|
||||
unsigned input_attachment_index;
|
||||
bool patch;
|
||||
|
||||
|
Reference in New Issue
Block a user