mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 11:08:03 +02:00
nir: Add a descriptor_set field to nir_variable
This is needed for supporting the Vulkan binding model Reviewed-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
parent
7a835b3fd9
commit
1e0012e3e4
1 changed files with 5 additions and 0 deletions
|
|
@ -265,6 +265,11 @@ typedef struct nir_variable {
|
|||
*/
|
||||
int index;
|
||||
|
||||
/**
|
||||
* Descriptor set binding for sampler or UBO.
|
||||
*/
|
||||
int descriptor_set;
|
||||
|
||||
/**
|
||||
* Initial binding point for a sampler or UBO.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue