lima/ppir: enable vectorize optimization
authorErico Nunes <nunes.erico@gmail.com>
Sat, 10 Aug 2019 20:46:02 +0000 (22:46 +0200)
committerErico Nunes <nunes.erico@gmail.com>
Sun, 25 Aug 2019 18:29:12 +0000 (18:29 +0000)
commit4379dcc12d36bf9993a06c628c9426d4f54ba58d
tree8ee6aa4cb90171e282af65943415e79a42dc2811
parent2a8a81d10982b98868ef6cfab69693d0b70f091e
lima/ppir: enable vectorize optimization

pp has vector units and some operations can be optimized when bundled
together.
Benchmarking this with piglit shaders shows that the instruction count
can be greatly reduced on many examples with vectorize.

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