zink/spirv: inline get_uvec_constant into emit_load_const
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 19 Jul 2019 14:12:57 +0000 (16:12 +0200)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 28 Oct 2019 08:51:47 +0000 (08:51 +0000)
commit3ceba2d312d1f6f3ffcb9547fdf2b1f511a5fe6c
tree7ada94c70b13ceb35f40ec4ac51ee12514c54913
parent20f6b19fdf482dab5236bbbbfa9264831085f65c
zink/spirv: inline get_uvec_constant into emit_load_const

This is the only call-site that wants to specify unique values per
component for any of the get_*_constant functions. So let's give this
its own implementation instead, so we can ease the burden for the rest.

Acked-by: Jordan Justen <jordan.l.justen@intel.com>
src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c