summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/glslang/src/Test/spv.dataOutIndirect.frag
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/glslang/src/Test/spv.dataOutIndirect.frag')
-rw-r--r--chromium/third_party/glslang/src/Test/spv.dataOutIndirect.frag12
1 files changed, 12 insertions, 0 deletions
diff --git a/chromium/third_party/glslang/src/Test/spv.dataOutIndirect.frag b/chromium/third_party/glslang/src/Test/spv.dataOutIndirect.frag
new file mode 100644
index 00000000000..1d8795f57c0
--- /dev/null
+++ b/chromium/third_party/glslang/src/Test/spv.dataOutIndirect.frag
@@ -0,0 +1,12 @@
+#version 140
+
+in vec4 Color;
+
+out vec4 fcolor[4];
+
+uniform b { int i; } bName;
+
+void main()
+{
+ fcolor[bName.i] = Color;
+}