mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-15 02:00:33 +01:00
tu: Fix typo in min bounds calculation of FDM scissors
Fixes:fec372dfa5("tu: Implement FDM viewport patching") Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39461> (cherry picked from commit1d6fe66989)
This commit is contained in:
parent
4aa5731f09
commit
ca25229f90
2 changed files with 2 additions and 2 deletions
|
|
@ -3214,7 +3214,7 @@
|
|||
"description": "tu: Fix typo in min bounds calculation of FDM scissors",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "fec372dfa502f588e894c19e9c2a8ba2c73d6c9a",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -2891,7 +2891,7 @@ fdm_apply_scissors(struct tu_cmd_buffer *cmd, struct tu_cs *cs, void *data,
|
|||
|
||||
VkOffset2D min = {
|
||||
scissor.offset.x / frag_area.width + offset.x,
|
||||
scissor.offset.y / frag_area.width + offset.y,
|
||||
scissor.offset.y / frag_area.height + offset.y,
|
||||
};
|
||||
VkOffset2D max = {
|
||||
DIV_ROUND_UP(scissor.offset.x + scissor.extent.width, frag_area.width) + offset.x,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue