diff options
Diffstat (limited to 'src/mesa/drivers/dri/r300/compiler/r3xx_fragprog.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/compiler/r3xx_fragprog.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/r300/compiler/r3xx_fragprog.c b/src/mesa/drivers/dri/r300/compiler/r3xx_fragprog.c index 3e88ccbc46..7f3b88ed75 100644 --- a/src/mesa/drivers/dri/r300/compiler/r3xx_fragprog.c +++ b/src/mesa/drivers/dri/r300/compiler/r3xx_fragprog.c @@ -107,7 +107,7 @@ void r3xx_compile_fragment_program(struct r300_fragment_program_compiler* c) debug_program_log(c, "after emulate branches"); - if (c->is_r500) { + if (c->Base.is_r500) { struct radeon_program_transformation transformations[] = { { &r500_transform_IF, 0 }, { &radeonTransformALU, 0 }, @@ -174,14 +174,14 @@ void r3xx_compile_fragment_program(struct r300_fragment_program_compiler* c) debug_program_log(c, "after pair scheduling"); - rc_pair_regalloc(c, c->max_temp_regs); + rc_pair_regalloc(c, c->Base.max_temp_regs); if (c->Base.Error) return; debug_program_log(c, "after register allocation"); - if (c->is_r500) { + if (c->Base.is_r500) { r500BuildFragmentProgramHwCode(c); } else { r300BuildFragmentProgramHwCode(c); @@ -190,7 +190,7 @@ void r3xx_compile_fragment_program(struct r300_fragment_program_compiler* c) rc_constants_copy(&c->code->constants, &c->Base.Program.Constants); if (c->Base.Debug) { - if (c->is_r500) { + if (c->Base.is_r500) { r500FragmentProgramDump(c->code); } else { r300FragmentProgramDump(c->code); |