From e65ad47a8f5ef1a4aafc86e0266e9644ecf2404e Mon Sep 17 00:00:00 2001 From: Aapo Tahkola Date: Thu, 26 Jan 2006 16:28:54 +0000 Subject: [PATCH] remove some testing code --- src/mesa/drivers/dri/r300/r300_state.c | 30 -------------------------- 1 file changed, 30 deletions(-) diff --git a/src/mesa/drivers/dri/r300/r300_state.c b/src/mesa/drivers/dri/r300/r300_state.c index d889a356485..84d92f93424 100644 --- a/src/mesa/drivers/dri/r300/r300_state.c +++ b/src/mesa/drivers/dri/r300/r300_state.c @@ -1700,36 +1700,6 @@ void r300UpdateShaderStates(r300ContextPtr rmesa) r300UpdateTextureState(ctx); #endif -#if 0 -#define B_FLAG(x) ((x)?1:0) - - if(hw_tcl_on){ - int i; - GLuint InputsRead; - GLuint OutputsWritten; - - InputsRead = ctx->FragmentProgram._Current->Base.InputsRead; - OutputsWritten = CURRENT_VERTEX_SHADER(ctx)->Base.OutputsWritten; - - for (i=0;iConst.MaxTextureUnits;i++) { - /*if(B_FLAG(OutputsWritten & (1 << (VERT_RESULT_TEX0+i))) != B_FLAG(InputsRead & (FRAG_BIT_TEX0<Texture.Unit[i]._ReallyEnabled) != B_FLAG(InputsRead & (FRAG_BIT_TEX0<Texture.Unit[i]._ReallyEnabled) != B_FLAG(OutputsWritten & (1 << (VERT_RESULT_TEX0+i)))){ - fprintf(stderr, "re != vp_out fails for unit %d\n", i); - exit(1); - }*/ - } - } -#endif - r300SetupPixelShader(rmesa); r300_setup_textures(ctx); -- 2.30.2