Skip to content

pvr: Fix `for` loop itarator usage

The i iteration variable was being used instead of k when appending new mappings, and getting the current source rect.

dEQP test fixed:
  dEQP-VK.pipeline.monolithic.image.suballocation.sampling_type
    .combined.view_type.3d.format.*.count_1.
    .{3x3x3,5x5x5,...(odd dimensions)}

Fixes: 060c3db4 ("pvr: Complete pvr_generate_custom_mapping()")

Reported-by: James Glanville james.glanville@imgtec.com

Signed-off-by: Karmjit Mahil Karmjit.Mahil@imgtec.com

Merge request reports

Loading