diff options
Diffstat (limited to '3rdparty/bgfx/3rdparty/glslang/Test/spv.dataOutIndirect.vert')
-rw-r--r-- | 3rdparty/bgfx/3rdparty/glslang/Test/spv.dataOutIndirect.vert | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/3rdparty/bgfx/3rdparty/glslang/Test/spv.dataOutIndirect.vert b/3rdparty/bgfx/3rdparty/glslang/Test/spv.dataOutIndirect.vert new file mode 100644 index 00000000000..cb6b7e0d7cf --- /dev/null +++ b/3rdparty/bgfx/3rdparty/glslang/Test/spv.dataOutIndirect.vert @@ -0,0 +1,12 @@ +#version 140
+
+attribute vec4 color;
+out vec4 colorOut[6];
+
+void main()
+{
+ for (int i = 1; i < 5; ++i)
+ colorOut[i] = color;
+
+ gl_Position = colorOut[2];
+}
|