Przeglądaj źródła

nir: move data.descriptor_set above data.index for better packing

4 bytes down

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
master
Marek Olšák 5 lat temu
rodzic
commit
ec7d37c9c0
1 zmienionych plików z 4 dodań i 4 usunięć
  1. 4
    4
      src/compiler/nir/nir.h

+ 4
- 4
src/compiler/nir/nir.h Wyświetl plik

@@ -437,14 +437,14 @@ typedef struct nir_variable {
enum gl_access_qualifier access:8;

/**
* output index for dual source blending.
* Descriptor set binding for sampler or UBO.
*/
unsigned index;
unsigned descriptor_set:5;

/**
* Descriptor set binding for sampler or UBO.
* output index for dual source blending.
*/
unsigned descriptor_set:5;
unsigned index;

/**
* Initial binding point for a sampler or UBO.

Ładowanie…
Anuluj
Zapisz