mesa/src/imagination
Karmjit Mahil 822dc384b1 pvr: Fix seg fault on empty descriptor set
Vulkan allows empty descriptor sets to be created. When we setup
the descriptor set addresses table we fill in the address of the
`bo` for each valid/currently bound desc set. For empty desc sets
there is no `bo` which was causing a seg fault. Now skip them,
leaving their address set to `~0`.

Reported-by: Simon Perretta <simon.perretta@imgtec.com>
Signed-off-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Fixes: ce67f5ac94 ("pvr: Write descriptor set addrs table dev addr into shareds")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23692>
2023-06-21 16:09:20 +00:00
..
common pvr: Add support for sampler border colors 2023-06-08 10:33:46 +00:00
csbgen pvr: Add support for sampler border colors 2023-06-08 10:33:46 +00:00
include pvr: Move pvr_get_isp_num_tiles_xy() to rogue_hw_utils.h 2023-06-02 14:43:24 +00:00
rogue nir: Drop unused name from nir_ssa_dest_init 2023-05-17 23:46:16 +00:00
vulkan pvr: Fix seg fault on empty descriptor set 2023-06-21 16:09:20 +00:00
.clang-format pvr: Add support for validating modifier combos 2023-02-24 11:29:48 +00:00
.dir-locals.el
.editorconfig pvr: Change indentation from tab to spaces for xml files. 2022-08-31 08:26:17 +00:00
meson.build