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