[Mesa-dev] [PATCH] glsl/ast: don't crash when func_name is NULL

Dave Airlie airlied at gmail.com
Mon Jun 6 20:00:37 UTC 2016


On 7 June 2016 at 00:17, Iago Toral <itoral at igalia.com> wrote:
> I guess this makes sense:
> Reviewed-by: Iago Toral Quiroga <itoral at igalia.com
>
> Out of curiosity, in which case do we get here and can't find a function
> name?

The test does something illegal earlier, but we keep parsing it, the case
we end up here is with id->oper being ast_function.

Dave.


More information about the mesa-dev mailing list