mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-23 10:35:03 +00:00
blit_helper: Fix validation error
This commit is contained in:
parent
7dfcf8c0bd
commit
5eccb1734d
@ -126,13 +126,13 @@ void BlitHelper::BlitColorToMsDepth(Image& source, Image& dest) {
|
|||||||
.minDepth = 0.f,
|
.minDepth = 0.f,
|
||||||
.maxDepth = 1.f,
|
.maxDepth = 1.f,
|
||||||
};
|
};
|
||||||
cmdbuf.setViewport(0, viewport);
|
cmdbuf.setViewportWithCount(viewport);
|
||||||
|
|
||||||
const vk::Rect2D scissor = {
|
const vk::Rect2D scissor = {
|
||||||
.offset = {0, 0},
|
.offset = {0, 0},
|
||||||
.extent = {state.width, state.height},
|
.extent = {state.width, state.height},
|
||||||
};
|
};
|
||||||
cmdbuf.setScissor(0, scissor);
|
cmdbuf.setScissorWithCount(scissor);
|
||||||
|
|
||||||
cmdbuf.draw(3, 1, 0, 0);
|
cmdbuf.draw(3, 1, 0, 0);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user