summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAapo Tahkola <[email protected]>2006-01-26 16:28:54 +0000
committerAapo Tahkola <[email protected]>2006-01-26 16:28:54 +0000
commite65ad47a8f5ef1a4aafc86e0266e9644ecf2404e (patch)
tree0527e9f64fec6e2c4704f85089b12158cdc0027a /src
parentedc98df891d8962e607de3a10a68fa81598ceee2 (diff)
remove some testing code
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/r300/r300_state.c30
1 files changed, 0 insertions, 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;i<ctx->Const.MaxTextureUnits;i++) {
- /*if(B_FLAG(OutputsWritten & (1 << (VERT_RESULT_TEX0+i))) != B_FLAG(InputsRead & (FRAG_BIT_TEX0<<i))){
- fprintf(stderr, "vp_out != fp_in fails for unit %d\n", i);
- exit(1);
- }*/
- /*
- if(B_FLAG(ctx->Texture.Unit[i]._ReallyEnabled) != B_FLAG(InputsRead & (FRAG_BIT_TEX0<<i))){
- fprintf(stderr, "re != fp_in fails for unit %d\n", i);
- exit(1);
- }
-
- if(B_FLAG(ctx->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);