ad2b7c05e7
This does not exist in GLSL, but it exists in HLSL if LOD == 0.0.
16 lines
240 B
GLSL
16 lines
240 B
GLSL
#version 450
|
|
|
|
layout(location = 0) in float v0;
|
|
layout(location = 1) in float v1;
|
|
layout(location = 0) out float FragColor;
|
|
|
|
void main()
|
|
{
|
|
float a = v0;
|
|
float b = v1;
|
|
float _17 = a;
|
|
a = v1;
|
|
FragColor = (_17 + b) * b;
|
|
}
|
|
|