2022-01-28 16:49:46 +00:00
|
|
|
#version 310 es
|
|
|
|
|
|
|
|
struct S {
|
|
|
|
float f;
|
|
|
|
};
|
|
|
|
|
2022-02-04 23:09:23 +00:00
|
|
|
layout(binding = 0, std430) buffer arr_block_1 {
|
2022-01-28 16:49:46 +00:00
|
|
|
S inner[];
|
|
|
|
} arr;
|
|
|
|
void tint_symbol() {
|
2022-02-05 00:20:54 +00:00
|
|
|
uint len = uint(arr.inner.length());
|
2022-01-28 16:49:46 +00:00
|
|
|
}
|
|
|
|
|
2022-02-02 15:25:42 +00:00
|
|
|
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
|
2022-01-28 16:49:46 +00:00
|
|
|
void main() {
|
|
|
|
tint_symbol();
|
2022-02-02 15:25:42 +00:00
|
|
|
return;
|
2022-01-28 16:49:46 +00:00
|
|
|
}
|