aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/spirv/vtn_private.h
diff options
context:
space:
mode:
authorCaio Marcelo de Oliveira Filho <[email protected]>2019-04-22 16:17:58 -0700
committerCaio Marcelo de Oliveira Filho <[email protected]>2019-04-23 14:58:01 -0700
commit7b66d584a3c685bf70893fe5cda2432cf4fbfdfb (patch)
treeab690d14069f6e1cc030084130d93aec79c03454 /src/compiler/spirv/vtn_private.h
parent0fb0058f18b24674583770c0c95600675ce8336e (diff)
spirv: Rename vtn_decoration literals to operands
Decorations (and ExecutionModes) can have not only literals, but also Ids associated with them. So rename the field to the more general name "Operand" used by the spec. Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/spirv/vtn_private.h')
-rw-r--r--src/compiler/spirv/vtn_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/spirv/vtn_private.h b/src/compiler/spirv/vtn_private.h
index f21bb5bd10c..0fc2bc4da7b 100644
--- a/src/compiler/spirv/vtn_private.h
+++ b/src/compiler/spirv/vtn_private.h
@@ -558,7 +558,7 @@ struct vtn_decoration {
*/
int scope;
- const uint32_t *literals;
+ const uint32_t *operands;
struct vtn_value *group;
union {