2021-11-16 15:15:36 +00:00
|
|
|
#version 310 es
|
|
|
|
precision mediump float;
|
|
|
|
|
2022-11-02 02:25:38 +00:00
|
|
|
struct S {
|
2021-11-16 15:15:36 +00:00
|
|
|
mat4x3 matrix;
|
|
|
|
vec3 vector;
|
2022-09-13 19:48:51 +00:00
|
|
|
uint pad;
|
2022-11-02 02:25:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
layout(binding = 0, std140) uniform data_block_ubo {
|
|
|
|
S inner;
|
2021-11-16 15:15:36 +00:00
|
|
|
} data;
|
|
|
|
|
|
|
|
void tint_symbol() {
|
2022-11-02 02:25:38 +00:00
|
|
|
vec4 x = (data.inner.vector * data.inner.matrix);
|
2021-11-16 15:15:36 +00:00
|
|
|
}
|
2022-01-26 16:48:55 +00:00
|
|
|
|
2021-11-16 15:15:36 +00:00
|
|
|
void main() {
|
|
|
|
tint_symbol();
|
2022-01-28 22:36:58 +00:00
|
|
|
return;
|
2021-11-16 15:15:36 +00:00
|
|
|
}
|