mesa/src/broadcom/vulkan
Juan A. Suarez Romero 4eb0475b5a v3dv: assert job->cmd_buffer is valid
In v3dv_write_uniforms_wg_offsets() function, the job's cmd_buffer is a
valid command buffer, so there is no reason to check if its NULL or not.

This fixes CID#1487441 ("Dereference after null check") error.

v1:
 - `job->cmd_buffer` is the same as `cmd_buffer` (Alejandro)

v2:
 - Use `cmd_buffer` instead of `job->cmd_buffer` (Iago)

Fixes: 31a786c80a ("v3dv: handle QUNIFORM_FB_LAYERS")
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11999>
2021-07-26 07:28:37 +00:00
..
.dir-locals.el
.editorconfig
meson.build v3dv: refactor meta copy/clear code 2021-07-15 12:16:55 +02:00
v3dv_bo.c v3dv: use a bitfield to implement a quick check for job BO tracking 2021-04-15 06:09:34 +00:00
v3dv_bo.h v3dv: use a bitfield to implement a quick check for job BO tracking 2021-04-15 06:09:34 +00:00
v3dv_cl.c v3dv/build: meson infrastructure for multi-hw-version support 2021-06-22 11:34:06 +02:00
v3dv_cl.h v3dv: remove gen-dependant includes from v3dv_private 2021-06-22 11:34:06 +02:00
v3dv_cmd_buffer.c v3dv: allow limiting amount of tile state allocated 2021-07-16 09:36:37 +00:00
v3dv_debug.c
v3dv_debug.h
v3dv_descriptor_set.c v3dv: don't use cl_packet_length for prepacked data 2021-06-22 11:34:06 +02:00
v3dv_device.c v3dv: implement VK_EXT_physical_device_drm 2021-07-19 06:03:02 +00:00
v3dv_formats.c v3dv: split v3dv_format hw version dependant code to a new source file 2021-06-22 11:34:06 +02:00
v3dv_image.c v3dv: move several hw version dependant code to their own (v3dvx) source file 2021-06-22 11:34:06 +02:00
v3dv_limits.h v3dv: don't use cl_packet_length for prepacked data 2021-06-22 11:34:06 +02:00
v3dv_meta_clear.c v3dv: don't overallocate tile state for meta TLB operations 2021-07-16 09:36:37 +00:00
v3dv_meta_common.h v3dv: refactor meta copy/clear code 2021-07-15 12:16:55 +02:00
v3dv_meta_copy.c v3dv: don't overallocate tile state for meta TLB operations 2021-07-16 09:36:37 +00:00
v3dv_pass.c v3dv: split v3dv_format hw version dependant code to a new source file 2021-06-22 11:34:06 +02:00
v3dv_pipeline.c v3dv: fix I/O lowering for GS 2021-07-21 05:44:31 +00:00
v3dv_pipeline_cache.c v3dv: add support for geometry shaders to pipelines 2021-07-12 08:35:55 +02:00
v3dv_private.h v3dv: implement VK_EXT_physical_device_drm 2021-07-19 06:03:02 +00:00
v3dv_query.c v3dv: use VKAPI_ATTR and VKAPI_CALL. 2021-05-31 17:08:27 +00:00
v3dv_queue.c v3dv: account for dst offset of copy query results operations 2021-07-07 10:41:06 +00:00
v3dv_uniforms.c v3dv: assert job->cmd_buffer is valid 2021-07-26 07:28:37 +00:00
v3dv_util.c
v3dv_wsi.c v3dv: use VKAPI_ATTR and VKAPI_CALL. 2021-05-31 17:08:27 +00:00
v3dv_wsi_display.c v3dv: implement VK_KHR_get_display_properties2 2021-06-10 11:01:28 +00:00
v3dv_wsi_wayland.c v3dv: use VKAPI_ATTR and VKAPI_CALL. 2021-05-31 17:08:27 +00:00
v3dv_wsi_x11.c v3dv: use VKAPI_ATTR and VKAPI_CALL. 2021-05-31 17:08:27 +00:00
v3dvx_cmd_buffer.c v3dv: don't emit frame setup more than once for multilayered framebuffers 2021-07-16 09:36:37 +00:00
v3dvx_descriptor_set.c v3dv: split v3dv_descriptor hw version dependant to a new source file. 2021-06-22 11:34:06 +02:00
v3dvx_device.c broadcom: don't define internal BPP values twice 2021-07-20 12:06:56 +00:00
v3dvx_formats.c v3dv/format: expose properly that some formats are not filterable 2021-07-09 11:37:01 +00:00
v3dvx_image.c v3dv: split v3dv_image hw version dependant code to a new source file 2021-06-22 11:34:06 +02:00
v3dvx_meta_common.c v3dv: don't overallocate tile state for meta TLB operations 2021-07-16 09:36:37 +00:00
v3dvx_pipeline.c v3dv: add support for geometry shaders to pipelines 2021-07-12 08:35:55 +02:00
v3dvx_private.h v3dv: improve TLB layered image clears 2021-07-16 09:36:37 +00:00
v3dvx_queue.c v3dv: allow limiting amount of tile state allocated 2021-07-16 09:36:37 +00:00
vk_format_info.h