projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
spirv: set variables to restrict by default
[mesa.git]
/
src
/
compiler
/
spirv
/
vtn_private.h
diff --git
a/src/compiler/spirv/vtn_private.h
b/src/compiler/spirv/vtn_private.h
index 484ab853a821064b338e40b80b21c6db732ec815..059c94494a1ee201ac01c36fc5a8131dc3213e52 100644
(file)
--- a/
src/compiler/spirv/vtn_private.h
+++ b/
src/compiler/spirv/vtn_private.h
@@
-685,6
+685,9
@@
struct vtn_builder {
/* when a physical memory model is choosen */
bool physical_ptrs;
+
+ /* memory model specified by OpMemoryModel */
+ unsigned mem_model;
};
nir_ssa_def *