[Mesa-dev] [PATCH] broadcom/vc4: Add NULL pointer checking

Eric Anholt eric at anholt.net
Mon Aug 6 00:34:50 UTC 2018

zhaowei yuan <zhaowei.yuan at samsung.com> writes:

> In some cases, texstate->textures and texstate->samplers cann't
> be set properly, add NULL pointer checking here to protect program
> from crashed

We don't need a workaround here, we need to fix the actual problem
instead.  That said, from your bugzilla entry it sounds like it's
already fixed in:

commit 833c4046007f22ce1da0e1c2b89e8f1892f8d38e
Author: Eric Anholt <eric at anholt.net>
Date:   Fri Mar 30 16:04:34 2018 -0700

    nir: Look into uniform structs for samplers when counting num_textures.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180805/93b91e6f/attachment.sig>

More information about the mesa-dev mailing list