zhaowei yuan <zhaowei.y...@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 <e...@anholt.net> Date: Fri Mar 30 16:04:34 2018 -0700 nir: Look into uniform structs for samplers when counting num_textures.
signature.asc
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev