mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-11 00:31:28 -05:00
21 lines
286 B
Text
21 lines
286 B
Text
struct SurfaceOutput {
|
|
vec4 color;
|
|
};
|
|
void surf (
|
|
inout SurfaceOutput o_1
|
|
)
|
|
{
|
|
vec4 tmpvar_2;
|
|
tmpvar_2 = vec4(1.0, 1.0, 1.0, 1.0);
|
|
o_1.color = tmpvar_2;
|
|
}
|
|
|
|
void main ()
|
|
{
|
|
SurfaceOutput o_3;
|
|
surf (o_3);
|
|
vec4 tmpvar_4;
|
|
tmpvar_4 = o_3.color;
|
|
gl_FragColor = tmpvar_4;
|
|
}
|
|
|