12 lines
154 B
Plaintext
12 lines
154 B
Plaintext
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);
|
|
}
|