diff options
author | Dave Airlie <[email protected]> | 2014-11-19 08:46:03 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2014-11-24 10:41:30 +1000 |
commit | 38ec1844193570486bf35e25a7a4339a00da127e (patch) | |
tree | f6f14da8195e2de509c1c61cf1f45dd019ad7be5 /src/gallium/targets/xa | |
parent | fecae4625cf9a132bb3fbfeaadbbf3db68be6024 (diff) |
r600: fix texture gradients instruction emission (v2)
The piglit tests were failing, and it appeared to be SB
optimising out things, but Glenn pointed out the gradients
are meant to be clause local, so we should emit the texture
instructions in the same clause. This moves things around
to always copy to a temp and then emit the texture clauses
for H/V.
v2: Glenn pointed out we could get another ALU fetch in
the wrong place, so load the src gpr earlier as well.
Fixes at least:
./bin/tex-miplevel-selection textureGrad 2D
Reviewed-by: Glenn Kennard <[email protected]>
Cc: "10.4 10.3" <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/targets/xa')
0 files changed, 0 insertions, 0 deletions