mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 17:58:26 +02:00
r300/compiler: TEX instructions don't support negation on source arguments
This fixes piglit:
- glsl-fs-texture2d-dependent-4
NOTE: This is a candidate for the 7.9 and 7.10 branches.
(cherry picked from commit 1e97b4dd10)
This commit is contained in:
parent
dea5e972ff
commit
c7305375d1
1 changed files with 0 additions and 3 deletions
|
|
@ -74,9 +74,6 @@ static int r500_swizzle_is_native(rc_opcode opcode, struct rc_src_register reg)
|
|||
if (opcode == RC_OPCODE_KIL && (reg.Swizzle != RC_SWIZZLE_XYZW || reg.Negate != RC_MASK_NONE))
|
||||
return 0;
|
||||
|
||||
if (reg.Negate)
|
||||
reg.Negate ^= RC_MASK_XYZW;
|
||||
|
||||
for(i = 0; i < 4; ++i) {
|
||||
unsigned int swz = GET_SWZ(reg.Swizzle, i);
|
||||
if (swz == RC_SWIZZLE_UNUSED) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue