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>
(cherry picked from commit f574de2249)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40092>
This commit is contained in:
Konstantin Seurer 2026-02-09 09:33:55 +01:00 committed by Eric Engestrom
parent 2abdb028dd
commit f8ce75c40c
2 changed files with 3 additions and 3 deletions

View file

@ -5934,7 +5934,7 @@
"description": "radv: Fix setting the viewport for depth stencil FS resolves",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "704fbbb10867e5df29df4c5efea8c8000aa8f7df",
"notes": null

View file

@ -669,8 +669,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,