projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nir: Add a descriptor_set field to nir_variable
[mesa.git]
/
src
/
compiler
/
nir
/
nir.h
diff --git
a/src/compiler/nir/nir.h
b/src/compiler/nir/nir.h
index 9d48356c6de0be2a6ccbc7d25d1fe58ba0b9f0df..8f3537735714e9f6b6f364231d8781771e7076d7 100644
(file)
--- a/
src/compiler/nir/nir.h
+++ b/
src/compiler/nir/nir.h
@@
-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.
*