Porta tots els shaders a Vulkan i Metal
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user