Skip to content

pvr: Fix rect splitting logic in pvr_unwind_rects()

Matt Coster requested to merge MTCoster/mesa:dev/deqp-rect-splitting into main

What does this MR do and why?

Fixes incorrect logic causing out of bounds clipping and page faults.

This MR was tested:

  • manually tested on my development machine(s) with the following:
    • dEQP-VK.api.copy_and_blit.core.image_to_buffer.buffer_offset_relaxed
    • dEQP-VK.api.image_clearing.core.clear_color_image.3d.optimal.single_layer.r8_unorm_200x180x16
  • repeatedly tested since there is a risk of introducing flakes
  • not applicable
Signed-off-by: Matt Coster <matt.coster@imgtec.com>
Reported-by: Soroush Kashani <soroush.kashani@imgtec.com>
Reported-by: Oskar Rundgren <oskar.rundgren@imgtec.com>
Reviewed-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Edited by Matt Coster

Merge request reports