projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbf0f40
)
remove some cruft
author
Brian
<brian@nostromo.localnet.net>
Thu, 8 Feb 2007 22:08:16 +0000
(15:08 -0700)
committer
Brian
<brian@nostromo.localnet.net>
Thu, 8 Feb 2007 22:08:16 +0000
(15:08 -0700)
src/mesa/shader/slang/slang_codegen.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/slang_codegen.c
b/src/mesa/shader/slang/slang_codegen.c
index f71bbead0a671dbcefdbbe5f694b736c487548fd..2da53171edec741ea2abd70aad3f58967b87e8d1 100644
(file)
--- 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 {