mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-01 11:56:58 -05:00
23 lines
354 B
Text
23 lines
354 B
Text
struct v2f {
|
|
float f;
|
|
};
|
|
varying float var;
|
|
void main ()
|
|
{
|
|
v2f i2_1;
|
|
v2f i_2;
|
|
float tmpvar_3;
|
|
tmpvar_3 = var;
|
|
i_2.f = tmpvar_3;
|
|
v2f tmpvar_4;
|
|
tmpvar_4 = i_2;
|
|
i2_1 = tmpvar_4;
|
|
float tmpvar_5;
|
|
tmpvar_5 = abs (i2_1.f);
|
|
vec4 tmpvar_6;
|
|
tmpvar_6 = vec4(tmpvar_5);
|
|
vec4 tmpvar_7;
|
|
tmpvar_7 = tmpvar_6;
|
|
gl_FragColor = tmpvar_7;
|
|
}
|
|
|