mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-20 00:28:08 +02:00
A VK_ERROR_FORMAT_NOT_SUPPORTED error was being returned when setting up the image view tex state for images with the VK_IMAGE_USAGE_STORAGE_BIT and/or VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT bit(s) set due to missing handling in pvr_pack_tex_state(). Resolve this by handling these cases, while taking the opportunity to simplify how the tex type is determined when packing TEXSTATE_IMAGE_WORD0. It was also found that the depth field in TEXSTATE_IMAGE_WORD1 was being set up incorrectly, as it was relying on the image depth being 0 for 1D and 2D images, but the image depth will always be 1 in these cases. Partial fix for dEQP-VK.image.qualifiers.volatile.cube.r32f. This now goes from failing to seg faulting when VK_FORMAT_R32_SFLOAT is added to the format table, as the test is now getting further. Signed-off-by: Frank Binns <frank.binns@imgtec.com> Reviewed-by: Rajnesh Kanwal <rajnesh.kanwal@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18320> |
||
|---|---|---|
| .. | ||
| common | ||
| csbgen | ||
| include | ||
| rogue | ||
| vulkan | ||
| .clang-format | ||
| .dir-locals.el | ||
| .editorconfig | ||
| meson.build | ||