OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a835b3
)
nir: Add a descriptor_set field to nir_variable
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Fri, 25 Mar 2016 17:16:23 +0000
(10:16 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Fri, 15 Apr 2016 00:20:05 +0000
(17:20 -0700)
This is needed for supporting the Vulkan binding model
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/compiler/nir/nir.h
patch
|
blob
|
history
diff --git
a/src/compiler/nir/nir.h
b/src/compiler/nir/nir.h
index
9d48356
..
8f35377
100644
(file)
--- a/
src/compiler/nir/nir.h
+++ b/
src/compiler/nir/nir.h
@@
-266,6
+266,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.
*
* For array types, this represents the binding point for the first element.