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
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 +++