From 5c067a63040cc66f0320f30482529a4ff1bd3811 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Wed, 26 May 2010 04:18:27 +0200 Subject: r300/compiler: move hardware caps to the radeon_compiler base struct Needed for vertex shaders too. --- src/mesa/drivers/dri/r300/r300_blit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/drivers/dri/r300/r300_blit.c') diff --git a/src/mesa/drivers/dri/r300/r300_blit.c b/src/mesa/drivers/dri/r300/r300_blit.c index 0865a45644..6fd41b6f41 100644 --- a/src/mesa/drivers/dri/r300/r300_blit.c +++ b/src/mesa/drivers/dri/r300/r300_blit.c @@ -118,8 +118,8 @@ static void create_fragment_program(struct r300_context *r300) compiler.OutputColor[0] = FRAG_RESULT_COLOR; compiler.OutputDepth = FRAG_RESULT_DEPTH; compiler.enable_shadow_ambient = GL_TRUE; - compiler.is_r500 = (r300->radeon.radeonScreen->chip_family >= CHIP_FAMILY_RV515); - compiler.max_temp_regs = (compiler.is_r500) ? 128 : 32; + compiler.Base.is_r500 = (r300->radeon.radeonScreen->chip_family >= CHIP_FAMILY_RV515); + compiler.Base.max_temp_regs = (compiler.Base.is_r500) ? 128 : 32; compiler.code = &r300->blit.fp_code; compiler.AllocateHwInputs = fp_allocate_hw_inputs; -- cgit v1.2.3