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

2018-08-05 Thread Eric Anholt
zhaowei yuan 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 li

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

2018-08-04 Thread zhaowei yuan
In some cases, texstate->textures and texstate->samplers cann't be set properly, add NULL pointer checking here to protect program from crashed Signed-off-by: zhaowei yuan --- src/gallium/drivers/vc4/vc4_uniforms.c | 43 ++ 1 file changed, 43 insertions(+) diff -