spirv: Rename vtn_decoration literals to operands
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Mon, 22 Apr 2019 23:17:58 +0000 (16:17 -0700)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Tue, 23 Apr 2019 21:58:01 +0000 (14:58 -0700)
commit7b66d584a3c685bf70893fe5cda2432cf4fbfdfb
treeab690d14069f6e1cc030084130d93aec79c03454
parent0fb0058f18b24674583770c0c95600675ce8336e
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 <jason@jlekstrand.net>
src/compiler/spirv/gl_spirv.c
src/compiler/spirv/spirv_to_nir.c
src/compiler/spirv/vtn_alu.c
src/compiler/spirv/vtn_private.h
src/compiler/spirv/vtn_variables.c