This reverts commit bd2de37b84
.
This commit is contained in:
parent
4c6682e65b
commit
598cf6c1ba
|
@ -10,7 +10,7 @@ fn vs_main(
|
||||||
[[location(0)]] position: vec2<f32>,
|
[[location(0)]] position: vec2<f32>,
|
||||||
) -> VertexOutput {
|
) -> VertexOutput {
|
||||||
var out: VertexOutput;
|
var out: VertexOutput;
|
||||||
out.tex_coord = fma(position, vec2<f32>(0.5, -0.5), vec2<f32>(0.5, 0.5));
|
out.tex_coord = position * vec2<f32>(0.5, -0.5) + 0.5;
|
||||||
out.position = vec4<f32>(position, 0.0, 1.0);
|
out.position = vec4<f32>(position, 0.0, 1.0);
|
||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@ fn vs_main(
|
||||||
[[location(0)]] position: vec2<f32>,
|
[[location(0)]] position: vec2<f32>,
|
||||||
) -> VertexOutput {
|
) -> VertexOutput {
|
||||||
var out: VertexOutput;
|
var out: VertexOutput;
|
||||||
out.tex_coord = fma(position, vec2<f32>(0.5, -0.5), vec2<f32>(0.5, 0.5));
|
out.tex_coord = position * vec2<f32>(0.5, -0.5) + 0.5;
|
||||||
out.position = r_locals.transform * vec4<f32>(position, 0.0, 1.0);
|
out.position = r_locals.transform * vec4<f32>(position, 0.0, 1.0);
|
||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue