freedreno/ir3: legalize vs unused sam dst components
authorRob Clark <robclark@freedesktop.org>
Tue, 6 Jan 2015 21:44:26 +0000 (16:44 -0500)
committerRob Clark <robclark@freedesktop.org>
Thu, 8 Jan 2015 00:37:28 +0000 (19:37 -0500)
commit56370b9feb269f185858422ee8fdf74a3dc99a33
tree760e97348a81d96c40636aed4aafe76161654190
parent063e2ef76a450f7b08ac942a0ca3842b9498f31b
freedreno/ir3: legalize vs unused sam dst components

We probably could be more clever elsewhere and mask out components that
are not used.  But either way, legalize should realize that there is
also a write-after-write hazard with texture sample instructions.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/ir3/ir3_compiler.c
src/gallium/drivers/freedreno/ir3/ir3_legalize.c