nir: add bit_size parameter to system values with multiple allowed bit sizes
authorKarol Herbst <kherbst@redhat.com>
Tue, 4 Dec 2018 15:40:30 +0000 (16:40 +0100)
committerKarol Herbst <kherbst@redhat.com>
Sun, 20 Jan 2019 23:17:18 +0000 (00:17 +0100)
commit0a793c78a35ecadad088e34fcc1088f5126e636d
tree8f4c6127d741fdf5ec6e22972bc86d2a226e5b50
parent4125211e9c46a3b6f3eb82ded7a57a1a07e0fe02
nir: add bit_size parameter to system values with multiple allowed bit sizes

v2: add assert to verify we have at least one valid bit_size
v3: fix use of load_front_face in nir_lower_two_sided_color and tgsi_to_nir

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/compiler/nir/nir_builder_opcodes_h.py
src/compiler/nir/nir_lower_system_values.c
src/compiler/nir/nir_lower_two_sided_color.c
src/gallium/auxiliary/nir/tgsi_to_nir.c
src/gallium/drivers/vc4/vc4_nir_lower_blend.c