mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-14 22:01:04 +00:00
14 lines
147 B
GLSL
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);
|
||
|
}
|