freedreno/ir3: don't create split/fo if only writing .x
authorRob Clark <robdclark@gmail.com>
Fri, 10 Nov 2017 17:54:49 +0000 (12:54 -0500)
committerRob Clark <robdclark@gmail.com>
Sun, 12 Nov 2017 17:28:59 +0000 (12:28 -0500)
commit8fcee858d595f3666e0fc828cce0286342c1d71e
tree2b408c54ba96bb8244334ddf35002a19fce6166d
parente7b2719f69a77b9daad5c17d651b54d98720669f
freedreno/ir3: don't create split/fo if only writing .x

In case an instruction only writes one register, and it is .x, we can
skip the extra level of fanout indirection.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c