bgfx/3rdparty/glslang/Test/spv.noDeadDecorations.vert
Branimir Karadžić f46d6a5803 Added glslang.
2016-12-15 14:19:54 -08:00

14 lines
147 B
GLSL

#version 310 es
precision mediump float;
float func(float a)
{
return -a;
a = a * -1.0;
}
void main()
{
gl_Position.x = func(0.0);
}