lima/ppir: lower selects to scalars
authorErico Nunes <nunes.erico@gmail.com>
Sat, 10 Aug 2019 20:44:22 +0000 (22:44 +0200)
committerErico Nunes <nunes.erico@gmail.com>
Sun, 25 Aug 2019 18:29:12 +0000 (18:29 +0000)
commit2a8a81d10982b98868ef6cfab69693d0b70f091e
tree86870d667c061edd483e9353fb30390d75affa9c
parent27e7603c344a31d5b2f0ef45ac54ee4c643910fc
lima/ppir: lower selects to scalars

nir vec4 fcsel assumes that each component of the condition will be used
to select the same component from the options, but pp can't implement
that since it only has 1 component for the condition.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Reviewed-by: Qiang Yu <yuq825@gmail.com>
src/gallium/drivers/lima/lima_program.c