diff --git a/.pick_status.json b/.pick_status.json index a13395fa284..57c1d423cd6 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -294,7 +294,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 diff --git a/src/freedreno/vulkan/tu_pipeline.cc b/src/freedreno/vulkan/tu_pipeline.cc index e8a9ccc920b..ba0e37d3c17 100644 --- a/src/freedreno/vulkan/tu_pipeline.cc +++ b/src/freedreno/vulkan/tu_pipeline.cc @@ -2786,7 +2786,7 @@ fdm_apply_scissors(struct tu_cmd_buffer *cmd, struct tu_cs *cs, void *data, offset.y -= hw_viewport_offset.y; 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,