mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 09:08:22 -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;
|
|
}
|
|
|