Porta tots els shaders a Vulkan i Metal

This commit is contained in:
2026-05-04 12:35:58 +02:00
parent 8d42d5741f
commit ef37a7a2e6
38 changed files with 2942 additions and 8 deletions

View File

@@ -14,6 +14,6 @@ vertex PassthroughVOut passthrough_vs(uint vid [[vertex_id]]) {
PassthroughVOut out;
float2 pos = positions[vid];
out.uv = pos * 0.5 + 0.5;
out.pos = float4(pos.x, -pos.y, 0.0, 1.0);
out.pos = float4(pos, 0.0, 1.0);
return out;
}