summaryrefslogtreecommitdiffstats
path: root/tests/bugs/vk-structured-buffer-binding.hlsl.expected
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/vk-structured-buffer-binding.hlsl.expected')
-rw-r--r--tests/bugs/vk-structured-buffer-binding.hlsl.expected31
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/bugs/vk-structured-buffer-binding.hlsl.expected b/tests/bugs/vk-structured-buffer-binding.hlsl.expected
new file mode 100644
index 000000000..fc1cb93ea
--- /dev/null
+++ b/tests/bugs/vk-structured-buffer-binding.hlsl.expected
@@ -0,0 +1,31 @@
+result code = 0
+standard error = {
+}
+standard output = {
+#version 450
+layout(row_major) uniform;
+layout(row_major) buffer;
+
+#line 5 0
+layout(std430, binding = 3, set = 4) buffer _S1 {
+ uint gDoneGroups_0[];
+};
+
+#line 7
+layout(location = 0)
+out vec4 _S2;
+
+
+#line 7
+layout(location = 0)
+in vec3 _S3;
+
+
+#line 7
+void main()
+{
+ _S2 = vec4(gDoneGroups_0[uint(int(_S3.z))]);
+ return;
+}
+
+}