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

15 lines
281 B
Text

attribute vec3 myUnused;
attribute vec4 myColor;
uniform float unusedFloat;
uniform mat4 unusedMatrix;
uniform mat4 mvp;
void main ()
{
vec4 tmpvar_1;
tmpvar_1 = (mvp * gl_Vertex);
gl_Position = tmpvar_1;
vec4 tmpvar_2;
tmpvar_2 = myColor;
gl_FrontColor = tmpvar_2;
}