diff options
author | Corbin Simpson <[email protected]> | 2010-04-15 23:35:48 -0700 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2010-04-16 00:43:17 -0700 |
commit | a089fe281645395d68cfae6d66151a8a88fe5f8e (patch) | |
tree | 02e0cac4e5f806c7c69d84651f3d8d3def5aba34 /src | |
parent | 2e74bc440eb110f1256af26f777e1b283df08df2 (diff) |
r300/compiler: Oops, this slipped through.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/r300/compiler/r3xx_fragprog.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r300/compiler/r3xx_fragprog.c b/src/mesa/drivers/dri/r300/compiler/r3xx_fragprog.c index 1e126d546d7..5fe10dbfe8b 100644 --- a/src/mesa/drivers/dri/r300/compiler/r3xx_fragprog.c +++ b/src/mesa/drivers/dri/r300/compiler/r3xx_fragprog.c @@ -113,9 +113,11 @@ void r3xx_compile_fragment_program(struct r300_fragment_program_compiler* c) * Remember, lowering comes last! */ struct radeon_program_transformation common_transformations[] = { { &radeonTransformTEX, c }, - { &radeonTransformALU, 0 } }; - radeonLocalTransform(&c->Base, 2, common_transformations); + radeonLocalTransform(&c->Base, 1, common_transformations); + + common_transformations[0].function = &radeonTransformALU; + radeonLocalTransform(&c->Base, 1, common_transformations); if (c->Base.Debug) { fprintf(stderr, "Fragment Program: After native rewrite:\n"); |