spirv-webgpu-transform 0.1.6

Transform SPIRV to be webgpu friendly
Documentation
1
2
3
4
5
6
7
8
9
10
#version 450

layout(push_constant) uniform PC {
    mat2 mats[2];
} pc;
layout(location = 0) out vec4 o_color;

void main() {
    o_color = vec4(pc.mats[0][0] + pc.mats[1][0], 0.0, 1.0);
}