summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-03-08 11:29:22 -0700
committerBrian <[email protected]>2007-03-08 11:29:22 -0700
commitec89aba7c6de29e1dc24b04740b0716e18028b12 (patch)
treecc9d5f1c35b0f414baed5a18c21cd1d7c28e1abc
parentcce4e505690f3d5aef630bd4c4c4a455f08519a1 (diff)
remove unused new_cjump()
-rw-r--r--src/mesa/shader/slang/slang_codegen.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/mesa/shader/slang/slang_codegen.c b/src/mesa/shader/slang/slang_codegen.c
index 570a946aa76..de78c2b8c77 100644
--- a/src/mesa/shader/slang/slang_codegen.c
+++ b/src/mesa/shader/slang/slang_codegen.c
@@ -455,20 +455,6 @@ new_float_literal(const float v[4])
}
/**
- * 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.
*/
static slang_ir_node *