summaryrefslogtreecommitdiff
path: root/tests/bugs
diff options
context:
space:
mode:
authorDarren <65404740+fairywreath@users.noreply.github.com>2024-12-10 13:12:19 -0500
committerGitHub <noreply@github.com>2024-12-10 10:12:19 -0800
commit523e9f012e42608df1f7dd91f5625f8171b6ca3d (patch)
treef0ba1940c442ae85e03769047125a1fe73900fb7 /tests/bugs
parent34497ae6d779b16b75003c7d9b6ca04e58b4dc70 (diff)
Enable exprs for GLSL binding layout qualifiers (#5807)
* Allow glsl set and binding layout qualifiers to be compile time integer exprs * add new tests * add comments * cleanup on asserts * addressed review comments and cleanup * fix missing set expr in test * fixed tests and cleanup --------- Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'tests/bugs')
-rw-r--r--tests/bugs/glsl-layout-define.hlsl.expected8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/bugs/glsl-layout-define.hlsl.expected b/tests/bugs/glsl-layout-define.hlsl.expected
index e97928b47..028c80325 100644
--- a/tests/bugs/glsl-layout-define.hlsl.expected
+++ b/tests/bugs/glsl-layout-define.hlsl.expected
@@ -1,11 +1,15 @@
result code = -1
standard error = {
-tests/bugs/glsl-layout-define.hlsl(4): error 20001: unexpected identifier, expected integer literal
+tests/bugs/glsl-layout-define.hlsl(4): error 30015: undefined identifier 'UNDEFINED_VK_BINDING'.
binding = UNDEFINED_VK_BINDING,
^~~~~~~~~~~~~~~~~~~~
-tests/bugs/glsl-layout-define.hlsl(5): error 20001: unexpected identifier, expected integer literal
+tests/bugs/glsl-layout-define.hlsl(5): error 30015: undefined identifier 'UNDEFINED_VK_SET'.
set = UNDEFINED_VK_SET)
^~~~~~~~~~~~~~~~
+(0): error 30015: undefined identifier 'main'.
+tests/bugs/glsl-layout-define.hlsl(3): error 38000: no function found matching entry point name 'main'
+layout(
+^~~~~~
}
standard output = {
}