bgfx/3rdparty/glsl-optimizer/tests/vertex/opt-normalize-in.txt
2014-02-10 23:06:13 -08:00

6 lines
145 B
Text

varying vec3 var_a;
void main() {
gl_Position = gl_Vertex * normalize(vec4(1.0,2.0,3.0,4.0));
var_a = gl_Vertex.xyz * normalize(vec3(0.0));
}