You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
263 B
12 lines
263 B
7 months ago
|
|
||
|
out vec4 sk_FragColor;
|
||
|
layout (binding = 0) uniform testBlock {
|
||
|
layout (offset = 0) float x;
|
||
|
layout (offset = 4) int w;
|
||
|
layout (offset = 16) float[2] y;
|
||
|
layout (offset = 48) mat3 z;
|
||
|
};
|
||
|
void main() {
|
||
|
sk_FragColor = vec4(x, y[0], y[1], 0.0);
|
||
|
}
|