mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-29 02:55:36 -05:00
21 lines
276 B
Text
21 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;
|
|
}
|
|
|