Skip to content

pvr: fix attachments segfault in pvr_is_stencil_store_load_needed()

What does this MR do and why?

pvr_is_stencil_store_load_needed() may be called on secondary command buffers, which don't have any attachments. This wasn't being taken into account, meaning a segfault could occur.

Fixes a segfault seen in: dEQP-VK.renderpass.suballocation.attachment_allocation.input_output.39

Merge request reports