mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-11 00:31:28 -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);
|
|
}
|