Skip to content

Commit

Permalink
ImGui: Fixed WGSL vertex shader
Browse files Browse the repository at this point in the history
  • Loading branch information
MikhailGorobets authored and TheMostDiligent committed Jul 4, 2024
1 parent 90c2fcb commit 7e84e45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Imgui/src/ImGuiDiligentRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ struct PSInput {
@vertex
fn main(in: VSInput) -> PSInput {
var out: PSInput;
out.pos = vec4<f32>(in.pos, 0.0, 1.0) * constants.ProjectionMatrix;
out.pos = constants.ProjectionMatrix * vec4<f32>(in.pos, 0.0, 1.0);
out.col = in.col;
out.uv = in.uv;
return out;
Expand Down

0 comments on commit 7e84e45

Please sign in to comment.