projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85cf238
)
nir/nir_variable: Add a descriptor set field
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Mon, 31 Aug 2015 22:34:56 +0000
(15:34 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 1 Sep 2015 00:05:23 +0000
(17:05 -0700)
We need this for SPIR-V
src/glsl/nir/nir.h
patch
|
blob
|
history
diff --git
a/src/glsl/nir/nir.h
b/src/glsl/nir/nir.h
index 2ad739523baa189d346a2a1b4410d9b2ca2c4d4a..4c60dbd645a1a97d99776f4b6b58624123f8ee87 100644
(file)
--- a/
src/glsl/nir/nir.h
+++ b/
src/glsl/nir/nir.h
@@
-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.
*