mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +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> (cherry picked from commitf574de2249) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40092>
This commit is contained in:
parent
2abdb028dd
commit
f8ce75c40c
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue