nir/nir_variable: Add a descriptor set field

We need this for SPIR-V
This commit is contained in:
Jason Ekstrand 2015-08-31 15:34:56 -07:00
parent 85cf2385c5
commit f4608bc530

View file

@ -296,6 +296,11 @@ typedef struct {
*/
int index;
/**
* Descriptor set binding for sampler or UBO.
*/
int descriptor_set;
/**
* Initial binding point for a sampler or UBO.
*