projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cce4e50
)
remove unused new_cjump()
author
Brian
<brian@yutani.localnet.net>
Thu, 8 Mar 2007 18:29:22 +0000
(11:29 -0700)
committer
Brian
<brian@yutani.localnet.net>
Thu, 8 Mar 2007 18:29:22 +0000
(11:29 -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 570a946aa76bf55d05423630b3e2611f946814b0..de78c2b8c7712b732ce58c4882bf737608cfa815 100644
(file)
--- a/
src/mesa/shader/slang/slang_codegen.c
+++ b/
src/mesa/shader/slang/slang_codegen.c
@@
-454,20
+454,6
@@
new_float_literal(const float v[4])
return n;
}
-/**
- * Conditional jump.
- * \param zeroOrOne indicates if the jump is to be taken on zero, or non-zero
- * condition code state.
- */
-static slang_ir_node *
-new_cjump(slang_label *dest, GLuint zeroOrOne)
-{
- slang_ir_node *n = new_node0(zeroOrOne ? IR_CJUMP1 : IR_CJUMP0);
- if (n)
- n->Label = dest;
- return n;
-}
-
/**
* Unconditional jump.
*/