spirv: Add a vtn_constant_value helper
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 23 Aug 2017 05:16:01 +0000 (22:16 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 7 Mar 2018 20:13:47 +0000 (12:13 -0800)
commitde518f38e53bceef40e4262bf7c3eeb66837fe8f
treea83ac66c7415149376215dfc2e495c1477df7703
parent9779f34326a6d01f4b026202c72d77dc968fd174
spirv: Add a vtn_constant_value helper

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/compiler/spirv/vtn_private.h