mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-22 10:04:39 +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,
|
||||
.maxDepth = 1.f,
|
||||
};
|
||||
cmdbuf.setViewport(0, viewport);
|
||||
cmdbuf.setViewportWithCount(viewport);
|
||||
|
||||
const vk::Rect2D scissor = {
|
||||
.offset = {0, 0},
|
||||
.extent = {state.width, state.height},
|
||||
};
|
||||
cmdbuf.setScissor(0, scissor);
|
||||
cmdbuf.setScissorWithCount(scissor);
|
||||
|
||||
cmdbuf.draw(3, 1, 0, 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user