glslang SPV tests: Add a set of SPV tests.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31212 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
12
Test/spv.dataOutIndirect.vert
Normal file
12
Test/spv.dataOutIndirect.vert
Normal file
@@ -0,0 +1,12 @@
|
||||
#version 130
|
||||
|
||||
attribute vec4 color;
|
||||
varying vec4 colorOut[6];
|
||||
|
||||
void main()
|
||||
{
|
||||
for (int i = 1; i < 5; ++i)
|
||||
colorOut[i] = color;
|
||||
|
||||
gl_Position = colorOut[2];
|
||||
}
|
||||
Reference in New Issue
Block a user