glslang/Test/spv.noDeadDecorations.vert

14 lines
147 B
GLSL
Raw Normal View History

2016-03-11 17:06:17 +00:00
#version 310 es
precision mediump float;
float func(float a)
{
return -a;
a = a * -1.0;
}
void main()
{
gl_Position.x = func(0.0);
}