Re: [Mesa-dev] [PATCH 5/6] si_blit: check zstex nullity

2017-03-20 Thread Marek Olšák
NAK. zstex can't be NULL here. It's a false coverity defect. db_depth_clear and db_stencil_clear can be true only if zstex is non-NULL. Marek On Thu, Mar 16, 2017 at 3:25 PM, Julien Isorce wrote: > Few lines before there is a if (zstex && zstex->htile_buffer ...) > which tells that there are so

[Mesa-dev] [PATCH 5/6] si_blit: check zstex nullity

2017-03-16 Thread Julien Isorce
Few lines before there is a if (zstex && zstex->htile_buffer ...) which tells that there are some situation where it can be NULL. So let's check for its nullity in other places too. Spotted by coverity: CID 1237295 Signed-off-by: Julien Isorce --- src/gallium/drivers/radeonsi/si_blit.c | 6 +++