diff options
Diffstat (limited to 'src/mesa/drivers/dri/r300/compiler/r3xx_vertprog.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/compiler/r3xx_vertprog.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/r300/compiler/r3xx_vertprog.c b/src/mesa/drivers/dri/r300/compiler/r3xx_vertprog.c index b05b3aabf3..b5186809bc 100644 --- a/src/mesa/drivers/dri/r300/compiler/r3xx_vertprog.c +++ b/src/mesa/drivers/dri/r300/compiler/r3xx_vertprog.c @@ -979,8 +979,6 @@ static struct rc_swizzle_caps r300_vertprog_swizzle_caps = { void r3xx_compile_vertex_program(struct r300_vertex_program_compiler *c) { - struct emulate_loop_state loop_state; - c->Base.SwizzleCaps = &r300_vertprog_swizzle_caps; addArtificialOutputs(c); @@ -988,9 +986,9 @@ void r3xx_compile_vertex_program(struct r300_vertex_program_compiler *c) debug_program_log(c, "before compilation"); if (c->Base.is_r500) - rc_transform_loops(&c->Base, &loop_state, R500_VS_MAX_ALU); + rc_transform_loops(&c->Base, R500_VS_MAX_ALU); else - rc_transform_loops(&c->Base, &loop_state, R300_VS_MAX_ALU); + rc_transform_loops(&c->Base, R300_VS_MAX_ALU); if (c->Base.Error) return; |