mesa/src
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
..
amd aco: Use cpp_msvc_compat_args. 2021-07-23 20:28:58 +00:00
android_stub egl/android: refactor to use the legit vndk/window.h header 2021-06-09 21:07:54 +00:00
asahi asahi: Add integers to agx_vertex_formats 2021-07-24 18:00:07 -04:00
broadcom v3dv: assert job->cmd_buffer is valid 2021-07-26 07:28:37 +00:00
compiler nir: Validate newly documented texture restrictions 2021-07-23 15:53:57 +00:00
drm-shim drm-shim: fix compile with glibc >= 2.33 2021-04-20 05:49:29 +00:00
egl egl/dri2: Stop disabling pbuffer support on msaa configs 2021-07-23 19:22:44 +00:00
etnaviv android: Drop the Android.mk build system 2021-07-08 14:44:02 -05:00
freedreno freedreno: Lock access to msm_pipe for RB object suballocation. 2021-07-22 21:45:31 +00:00
gallium asahi: Generalize src_offset for non-4byte formats 2021-07-24 18:00:39 -04:00
gbm gbm/dri: Fix leaking bo memory on failure path 2021-07-13 11:15:44 +00:00
getopt scons: Remove. 2021-03-20 10:38:55 +00:00
glx glx/drisw: Nerf PutImage when loaderPrivate == NULL 2021-07-15 15:10:17 +00:00
gtest
hgl hgl: Major refactor and cleanup 2021-01-09 20:51:35 -06:00
imgui
intel isl: fix mapping of format->stringname 2021-07-26 07:16:28 +00:00
loader loader: Handle failure to load DRI driver library 2021-07-13 07:36:17 +00:00
mapi glthread: use custom marshal/unmarshal for CallList 2021-07-09 10:05:46 +00:00
mesa teximage: return correct desktop GL error for compressedteximage 2021-07-26 05:59:18 +10:00
microsoft microsoft/spirv_to_dxil: Adding continue opt pass to fix DXIL loop gen 2021-07-24 14:47:41 +00:00
nouveau nouveau: add drm-shim support 2021-01-11 22:45:01 +00:00
panfrost panvk: Fix sampler filter modes on Bifrost 2021-07-23 20:12:18 +00:00
tool pps: Panfrost pps driver 2021-07-13 11:03:55 +00:00
util util: add workaround for Full Bore 2021-07-22 10:55:28 +00:00
virtio vulkan/wsi: replace prime_blit_buffer by a bool 2021-07-23 15:31:20 -07:00
vulkan vulkan/overlay: don't display histogram and range for device and format 2021-07-25 21:29:31 +00:00
meson.build meson: Build panfrost with tools=panfrost 2021-07-22 17:55:49 +00:00