intel/fs: Use a strided MOV instead of a conversion for load_* destinations
authorJason Ekstrand <jason@jlekstrand.net>
Sat, 13 Jul 2019 23:35:20 +0000 (18:35 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Wed, 17 Jul 2019 18:44:35 +0000 (18:44 +0000)
commit7ceec21b763ee307689519820034e1b48c1bb58e
treeb433ddac537174b87f4a136b9ba20a36a1a4a456
parent812b341578040496c76cc05e7c9cc05fe57ce834
intel/fs: Use a strided MOV instead of a conversion for load_* destinations

In many cases, the compiler can just copy-prop the strided MOV whereas
the conversion is a bit trickier.  This cuts 5% of the instructions off
of one particular Vulkan CTS test which does lots of load_ssbo.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/intel/compiler/brw_fs_nir.cpp