feat(wayland/surface): geometry resizing, unused

This commit is contained in:
Nova
2023-01-04 21:36:55 -05:00
parent a0d97c8385
commit 3f08e1e212
6 changed files with 39 additions and 29 deletions

View File

@@ -28,7 +28,7 @@ psIn vs(vsIn input, uint id : SV_InstanceID) {
float3 world = mul(float4(input.pos.xyz, 1), sk_inst[id].world).xyz;
o.pos = mul(float4(world, 1), sk_viewproj[o.view_id]);
o.uv = (input.uv) + uv_offset * uv_scale;
o.uv = (input.uv + uv_offset) * uv_scale;
return o;
}
float4 ps(psIn input) : SV_TARGET {