mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-09 01:28:19 +02:00
radv: Fix setting the viewport for depth stencil FS resolves
Fixes: 704fbbb ("radv/meta: rework depth/stencil resolves using graphics")
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39836>
This commit is contained in:
parent
bc86c5adae
commit
f574de2249
1 changed files with 2 additions and 2 deletions
|
|
@ -614,8 +614,8 @@ radv_meta_resolve_depth_stencil_fs(struct radv_cmd_buffer *cmd_buffer, struct ra
|
|||
|
||||
radv_CmdSetViewport(radv_cmd_buffer_to_handle(cmd_buffer), 0, 1,
|
||||
&(VkViewport){
|
||||
.x = region->srcOffset.x,
|
||||
.y = region->srcOffset.y,
|
||||
.x = region->dstOffset.x,
|
||||
.y = region->dstOffset.y,
|
||||
.width = region->extent.width,
|
||||
.height = region->extent.height,
|
||||
.minDepth = 0.0f,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue