mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
radv: reserve space for the scissor in vkCmdBeginRendering.
Fixes:c7d0d328d5("radv: Set the window scissor to the render area, not framebuffer") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20014> (cherry picked from commita97a6d0f0e)
This commit is contained in:
parent
fe062fe182
commit
3aa65abd14
2 changed files with 2 additions and 1 deletions
|
|
@ -1075,7 +1075,7 @@
|
|||
"description": "radv: reserve space for the scissor in vkCmdBeginRendering.",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "c7d0d328d569c15c01c5830af838faac8a8b3c62"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -6526,6 +6526,7 @@ radv_CmdBeginRendering(VkCommandBuffer commandBuffer, const VkRenderingInfo *pRe
|
|||
}
|
||||
}
|
||||
|
||||
radeon_check_space(cmd_buffer->device->ws, cmd_buffer->cs, 6);
|
||||
radeon_set_context_reg(cmd_buffer->cs, R_028204_PA_SC_WINDOW_SCISSOR_TL,
|
||||
S_028204_TL_X(render->area.offset.x) |
|
||||
S_028204_TL_Y(render->area.offset.y));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue