summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_nvfragprog.c
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2005-11-08 22:54:22 +0000
committerIan Romanick <idr@us.ibm.com>2005-11-08 22:54:22 +0000
commit5374e4ba7eaca2ee0ca73863ffbe9e639d090e3e (patch)
tree272c6a2aa4d9c0309e47f091134b23a627d07e58 /src/mesa/swrast/s_nvfragprog.c
parent4884db6eb29d30a16e5bf72da08ea6095ecd3339 (diff)
At keithw's request, remove all traces of the "fragment program to C" and
TCC experiment.
Diffstat (limited to 'src/mesa/swrast/s_nvfragprog.c')
-rw-r--r--src/mesa/swrast/s_nvfragprog.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mesa/swrast/s_nvfragprog.c b/src/mesa/swrast/s_nvfragprog.c
index 94224bc1d3..e042f55d23 100644
--- a/src/mesa/swrast/s_nvfragprog.c
+++ b/src/mesa/swrast/s_nvfragprog.c
@@ -1466,20 +1466,11 @@ _swrast_exec_fragment_program( GLcontext *ctx, struct sw_span *span )
init_machine(ctx, &ctx->FragmentProgram.Machine,
ctx->FragmentProgram._Current, span, i);
-#ifdef USE_TCC
- if (!_swrast_execute_codegen_program(ctx, program, ~0,
- &ctx->FragmentProgram.Machine,
- span, i)) {
- span->array->mask[i] = GL_FALSE; /* killed fragment */
- span->writeAll = GL_FALSE;
- }
-#else
if (!execute_program(ctx, program, ~0,
&ctx->FragmentProgram.Machine, span, i)) {
span->array->mask[i] = GL_FALSE; /* killed fragment */
span->writeAll = GL_FALSE;
}
-#endif
/* Store output registers */
{