mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-29 02:55:36 -05:00
29 lines
568 B
Text
29 lines
568 B
Text
#extension GL_EXT_frag_depth : enable
|
|
void xlat_main (
|
|
out lowp vec4 ocol_1,
|
|
out mediump float oz_2
|
|
)
|
|
{
|
|
mediump vec4 tmpvar_3;
|
|
tmpvar_3 = vec4(0.5, 0.5, 0.5, 0.5);
|
|
ocol_1 = tmpvar_3;
|
|
mediump float tmpvar_4;
|
|
tmpvar_4 = 0.9;
|
|
oz_2 = tmpvar_4;
|
|
}
|
|
|
|
void main ()
|
|
{
|
|
mediump float xlt_oz_5;
|
|
lowp vec4 xlt_ocol_6;
|
|
xlat_main (xlt_ocol_6, xlt_oz_5);
|
|
lowp vec4 tmpvar_7;
|
|
tmpvar_7 = xlt_ocol_6.xyzw;
|
|
lowp vec4 tmpvar_8;
|
|
tmpvar_8 = tmpvar_7;
|
|
gl_FragData[0] = tmpvar_8;
|
|
mediump float tmpvar_9;
|
|
tmpvar_9 = xlt_oz_5;
|
|
gl_FragDepthEXT = tmpvar_9;
|
|
}
|
|
|