diff options
author | Nicolai Hähnle <[email protected]> | 2009-10-06 20:24:46 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2009-10-06 20:25:07 +0200 |
commit | a09bd685daa9f2eebf7c7b428dc0da4595dd6459 (patch) | |
tree | ac310c5cd173fcf8751e3795ec89d66950c90041 /src/mesa/drivers/dri/r300/compiler | |
parent | 9e42f0ebc7e538e0bff7c8c8539532ff2fc3c475 (diff) |
r300/compiler: Fix a really stupid logic inversion in the generic dataflow code
Signed-off-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/r300/compiler')
-rw-r--r-- | src/mesa/drivers/dri/r300/compiler/radeon_dataflow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/compiler/radeon_dataflow.c b/src/mesa/drivers/dri/r300/compiler/radeon_dataflow.c index 58dcb20d29c..cce9166e644 100644 --- a/src/mesa/drivers/dri/r300/compiler/radeon_dataflow.c +++ b/src/mesa/drivers/dri/r300/compiler/radeon_dataflow.c @@ -44,7 +44,7 @@ static void reads_normal(struct rc_instruction * fullinst, rc_read_write_fn cb, for(unsigned int chan = 0; chan < 4; ++chan) refmask |= 1 << GET_SWZ(inst->SrcReg[src].Swizzle, chan); - refmask &= ~RC_MASK_XYZW; + refmask &= RC_MASK_XYZW; for(unsigned int chan = 0; chan < 4; ++chan) { if (GET_BIT(refmask, chan)) { |