summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-01-11 11:21:38 -0700
committerBrian <[email protected]>2007-01-11 11:21:38 -0700
commit063f3f7fc49e1fd5cf99cffd241e16af5e2d1823 (patch)
treef6781a4078836fcfb462bd1d30c95591fdf7718e
parent749ed66549fe194ff94824baf862722830de1297 (diff)
disable some code that'll eventually go away
-rw-r--r--src/mesa/shader/slang/slang_assemble.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_assemble.c b/src/mesa/shader/slang/slang_assemble.c
index 05574d0e561..c318a0b79bb 100644
--- a/src/mesa/shader/slang/slang_assemble.c
+++ b/src/mesa/shader/slang/slang_assemble.c
@@ -1329,8 +1329,10 @@ _slang_assemble_operation(slang_assemble_ctx * A, slang_operation * op,
A->ref = slang_ref_forbid;
break;
case slang_oper_literal_float:
+#if 0
if (ref == slang_ref_force)
RETURN_NIL();
+#endif
if (!PLIT(A->file, slang_asm_float_push, op->literal[0]))
RETURN_OUT_OF_MEMORY();
A->ref = slang_ref_forbid;