summaryrefslogtreecommitdiff
path: root/src/glsl/ir_lower_jumps.cpp
diff options
context:
space:
mode:
authorTom Stellard <tstellar@gmail.com>2010-09-24 22:14:43 -0700
committerTom Stellard <tstellar@gmail.com>2010-09-25 14:53:25 -0700
commit522e994a22e8b46c8a41f2920af88c5ebad43cd8 (patch)
treeb724c5fd55093d59439a53cef145fadec5dbb55c /src/glsl/ir_lower_jumps.cpp
parent1e35f6472df3341aca4d62eb3a3210603701c285 (diff)
r300/compiler: Fix two mistakes in the presubtract optimization pass.
1. We can't turn an instruction into a presubtract operation if it writes to one of the registers it reads from. 2. If we turn an instruction into a presubtract operation, we can't remove that intruction unless all readers can use the presubtract operation. This fixes fdo bug 30337. This is a candidate for the 7.9 branch.
Diffstat (limited to 'src/glsl/ir_lower_jumps.cpp')
0 files changed, 0 insertions, 0 deletions