r300/compiler: Oops, this slipped through.

This commit is contained in:
Corbin Simpson
2010-04-15 23:35:48 -07:00
parent 2e74bc440e
commit a089fe2816

View File

@@ -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");