bgfx/3rdparty/glsl-optimizer/tests/vertex/opt-unusedvars-in.txt

11 lines
196 B
Text
Raw Normal View History

2012-04-03 23:30:07 -04:00
uniform mat4 mvp;
uniform mat4 unusedMatrix;
uniform float unusedFloat;
attribute vec4 myColor;
attribute vec3 myUnused;
void main() {
gl_Position = mvp * gl_Vertex;
gl_FrontColor = myColor;
}