mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-23 10:14:13 +08:00
pvr: Adjust EOT PBE state to account for the iview's base array layer
Fixes various dEQP array tests. E.g. dEQP-VK.pipeline.monolithic.framebuffer_attachment .1d_array_32_64_4 Reported-by: James Glanville <james.glanville@imgtec.com> Signed-off-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com> Reviewed-by: Frank Binns <frank.binns@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25348>
This commit is contained in:
parent
7f510fe39f
commit
4518c3a50c
@ -973,6 +973,9 @@ static void pvr_setup_pbe_state(
|
||||
surface_params.addr =
|
||||
PVR_DEV_ADDR_OFFSET(image->vma->dev_addr,
|
||||
image->mip_levels[iview->vk.base_mip_level].offset);
|
||||
surface_params.addr =
|
||||
PVR_DEV_ADDR_OFFSET(surface_params.addr,
|
||||
iview->vk.base_array_layer * image->layer_size);
|
||||
|
||||
surface_params.mem_layout = image->memlayout;
|
||||
surface_params.stride = pvr_stride_from_pitch(level_pitch, iview->vk.format);
|
||||
|
Loading…
Reference in New Issue
Block a user