summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;