diff options
author | Corbin Simpson <[email protected]> | 2010-03-30 10:43:51 -0700 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2010-03-30 10:43:51 -0700 |
commit | 3623202834e9ca1073a4aa66f72f584812fb14df (patch) | |
tree | f7fc1ec0da2abf63a5d8d9dbbc4825a4d8566822 /src/mesa/drivers/dri/r300/compiler/radeon_pair_translate.c | |
parent | dc886ba1391d7d890bd1f5532bc14553e883a418 (diff) |
r300/compiler: Unbreak DDX/DDY.
Fixes progs/glsl/deriv.
Diffstat (limited to 'src/mesa/drivers/dri/r300/compiler/radeon_pair_translate.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/compiler/radeon_pair_translate.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/r300/compiler/radeon_pair_translate.c b/src/mesa/drivers/dri/r300/compiler/radeon_pair_translate.c index fff5b0c2173..3a26e7daaf9 100644 --- a/src/mesa/drivers/dri/r300/compiler/radeon_pair_translate.c +++ b/src/mesa/drivers/dri/r300/compiler/radeon_pair_translate.c @@ -159,11 +159,6 @@ static void set_pair_instruction(struct r300_fragment_program_compiler *c, int nargs = opcode->NumSrcRegs; int i; - /* Special case for DDX/DDY (MDH/MDV). */ - if (inst->Opcode == RC_OPCODE_DDX || inst->Opcode == RC_OPCODE_DDY) { - nargs++; - } - for(i = 0; i < opcode->NumSrcRegs; ++i) { int source; if (needrgb && !istranscendent) { |