mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 09:08:22 -05:00
22 lines
276 B
Text
22 lines
276 B
Text
|
struct SurfaceOutput {
|
||
|
vec4 color;
|
||
|
};
|
||
|
void surf (
|
||
|
inout SurfaceOutput o
|
||
|
)
|
||
|
{
|
||
|
vec4 tmpvar_1;
|
||
|
tmpvar_1 = vec4(1.0, 1.0, 1.0, 1.0);
|
||
|
o.color = tmpvar_1;
|
||
|
}
|
||
|
|
||
|
void main ()
|
||
|
{
|
||
|
SurfaceOutput o;
|
||
|
surf (o);
|
||
|
vec4 tmpvar_1;
|
||
|
tmpvar_1 = o.color;
|
||
|
gl_FragColor = tmpvar_1;
|
||
|
}
|
||
|
|