aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/library/slang_shader_syn.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/shader/slang/library/slang_shader_syn.h')
-rw-r--r--src/mesa/shader/slang/library/slang_shader_syn.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/shader/slang/library/slang_shader_syn.h b/src/mesa/shader/slang/library/slang_shader_syn.h
index ca62d41b7f4..98e6453a00b 100644
--- a/src/mesa/shader/slang/library/slang_shader_syn.h
+++ b/src/mesa/shader/slang/library/slang_shader_syn.h
@@ -685,9 +685,9 @@
"identifier\n"
" \"@ID\" .emit *;\n"
"float\n"
-" \"@NUM\" .emit *;\n"
+" \"@NUM\" .emit 1 .emit *;\n"
"integer\n"
-" \"@NUM\" .emit *;\n"
+" \"@NUM\" .emit 1 .emit *;\n"
"boolean\n"
" \"true\" .emit '1' .emit '\\0' .or\n"
" \"false\" .emit '0' .emit '\\0';\n"