bgfx/3rdparty/glsl-optimizer/tests/vertex/opt-unusedvars-in.txt
Branimir Karadzic dee3fe5266 Initial commit.
2012-04-03 20:30:07 -07:00

10 lines
196 B
Text

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;
}