mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-29 11:05:36 -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);
|
|
}
|