diff options
author | Eric Anholt <[email protected]> | 2013-09-18 12:32:31 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-09-21 16:48:58 -0700 |
commit | 938956ad52bc7659212b5877080967d4af0aad81 (patch) | |
tree | 3c298f969dcbcc7a53c689d9ec817f3d1dbaae0b /src/mesa/drivers/SConscript | |
parent | 1266f01dc76fb58dbbc2df6c1c639c9373584393 (diff) |
i965/gen4: Fix fragment program rectangle texture shadow compares.
The rescale_texcoord(), if it does something, will return just the
GLSL-sized coordinate, leaving out the 3rd and 4th components where we
were storing our projected shadow compare and the texture projector.
Deref the shadow compare before using the shared rescale-the-coordinate
code to fix the problem.
Fixes piglit tex-shadow2drect.shader_test and txp-shadow2drect.shader_test
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=69525
NOTE: This is a candidate for stable branches.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/SConscript')
0 files changed, 0 insertions, 0 deletions