summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian <brian@nostromo.localnet.net>2007-02-08 15:08:16 -0700
committerBrian <brian@nostromo.localnet.net>2007-02-08 15:08:16 -0700
commita1c2e87c4b7958b0f1a884bba893153b382973df (patch)
tree1f588e069c11419dc3c00ac690548ed91c627008 /src
parentfbf0f400b743686ccdf78b927fd5de477d764a9d (diff)
remove some cruft
Diffstat (limited to 'src')
-rw-r--r--src/mesa/shader/slang/slang_codegen.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mesa/shader/slang/slang_codegen.c b/src/mesa/shader/slang/slang_codegen.c
index f71bbead0a..2da53171ed 100644
--- a/src/mesa/shader/slang/slang_codegen.c
+++ b/src/mesa/shader/slang/slang_codegen.c
@@ -47,8 +47,6 @@
#include "slang_print.h"
-static GLboolean UseHighLevelInstructions = GL_TRUE;
-
static slang_ir_node *
_slang_gen_operation(slang_assemble_ctx * A, slang_operation *oper);
@@ -2441,8 +2439,7 @@ _slang_gen_operation(slang_assemble_ctx * A, slang_operation *oper)
case slang_oper_identifier:
return _slang_gen_variable(A, oper);
case slang_oper_if:
- if (A->program->Target == GL_FRAGMENT_PROGRAM_ARB
- && UseHighLevelInstructions) {
+ if (A->program->Target == GL_FRAGMENT_PROGRAM_ARB) {
return _slang_gen_hl_if(A, oper);
}
else {