mesa/src/imagination
Nick Hamilton 46853bff63 pvr: Fix load-op shader when loading from a 2d image view of a 3d image
When zink translates glCopySubImageData with a 2d image view of a 3d
image as the destination to a draw call the shader generated for the
load-op was not handling things correctly leading to the wrong
z-slice been loaded.

The fix is to mark which attachments within the load op are 2d image
views of a 3d image then when generating the load-op shader covert
the sample to 3d sample and update the coords to load the required
z-slice value from the tex meta data.

Fix for dEQP-GLES31.functional.copy_image.non_compressed.*_to_texture3d

Fixes: 7b28b6c43d ("pvr, pco: implement VK_EXT_image_2d_view_of_3d")

Signed-off-by: Nick Hamilton <nick.hamilton@imgtec.com>
Reviewed-by: Luigi Santivetti <luigi.santivetti@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41955>
2026-06-03 11:12:42 +00:00
..
ci pvr/ci: drop two tests from bxs-4-64-{fails,flakes} 2026-05-14 18:24:54 +00:00
common pvr: re-enable wideLines 2026-04-14 15:30:57 +01:00
csbgen pvr: add basic volcanic hw-definitions 2026-02-13 09:28:56 +00:00
drm-shim pvr/drm-shim: avoid trying a random bvnc by default 2026-02-09 09:23:42 +00:00
include pco: Use vertex input registers in register allocation 2026-02-24 16:27:45 +00:00
pco nir: remove ffma_old 2026-05-19 18:13:42 +00:00
vulkan pvr: Fix load-op shader when loading from a 2d image view of a 3d image 2026-06-03 11:12:42 +00:00
.clang-format pco: Use vertex input registers in register allocation 2026-02-24 16:27:45 +00:00
.dir-locals.el
.editorconfig
meson.build