9 lines
140 B
WebGPU Shading Language
9 lines
140 B
WebGPU Shading Language
|
[[block]]
|
||
|
struct S {
|
||
|
m : mat2x2<f32>;
|
||
|
};
|
||
|
|
||
|
[[group(0), binding(0)]] var<storage> SSBO : S;
|
||
|
|
||
|
[[group(0), binding(0)]] var<uniform> UBO : S;
|