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

7 lines
145 B
Text
Raw Normal View History

2014-02-11 02:06:13 -05:00
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));
}