mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 09:08:22 -05:00
24 lines
359 B
Text
24 lines
359 B
Text
struct foo {
|
|
float used;
|
|
float unused;
|
|
};
|
|
void main ()
|
|
{
|
|
foo s;
|
|
float f;
|
|
float tmpvar_1;
|
|
tmpvar_1 = 1.0;
|
|
f = tmpvar_1;
|
|
float tmpvar_2;
|
|
tmpvar_2 = f;
|
|
s.used = tmpvar_2;
|
|
float tmpvar_3;
|
|
tmpvar_3 = f;
|
|
s.unused = tmpvar_3;
|
|
vec4 tmpvar_4;
|
|
tmpvar_4 = vec4(s.used);
|
|
vec4 tmpvar_5;
|
|
tmpvar_5 = tmpvar_4;
|
|
gl_FragColor = tmpvar_5;
|
|
}
|
|
|