* Update SPIRV libraries - Update `spirv-cross` - Update `spirv-tools` - Update `glslang` `spirv-tools` contains a fix for an issue we reported (unnecessary promotions to highp in certain expressions). * Add SPIRV-Tools dependency to matinfo
13 lines
180 B
GLSL
13 lines
180 B
GLSL
#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];
|
|
}
|