summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/glslang/src/Test/spv.set.vert
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/glslang/src/Test/spv.set.vert')
-rw-r--r--chromium/third_party/glslang/src/Test/spv.set.vert14
1 files changed, 14 insertions, 0 deletions
diff --git a/chromium/third_party/glslang/src/Test/spv.set.vert b/chromium/third_party/glslang/src/Test/spv.set.vert
new file mode 100644
index 00000000000..e116c02bca2
--- /dev/null
+++ b/chromium/third_party/glslang/src/Test/spv.set.vert
@@ -0,0 +1,14 @@
+#version 450
+
+layout(set = 4, binding = 7) uniform sampler2D samp2D;
+
+layout(set = 0, binding = 8) buffer setBuf {
+ vec4 color;
+} setBufInst;
+
+out vec4 color;
+
+void main()
+{
+ color = setBufInst.color;
+}