nir: move data.descriptor_set above data.index for better packing
4 bytes down Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
This commit is contained in:
@@ -436,16 +436,16 @@ typedef struct nir_variable {
|
||||
*/
|
||||
enum gl_access_qualifier access:8;
|
||||
|
||||
/**
|
||||
* output index for dual source blending.
|
||||
*/
|
||||
unsigned index;
|
||||
|
||||
/**
|
||||
* Descriptor set binding for sampler or UBO.
|
||||
*/
|
||||
unsigned descriptor_set:5;
|
||||
|
||||
/**
|
||||
* output index for dual source blending.
|
||||
*/
|
||||
unsigned index;
|
||||
|
||||
/**
|
||||
* Initial binding point for a sampler or UBO.
|
||||
*
|
||||
|
Reference in New Issue
Block a user