mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
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:
parent
b160acb9f5
commit
ec7d37c9c0
1 changed files with 5 additions and 5 deletions
|
|
@ -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.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue