Skip to content
Snippets Groups Projects
Commit 210bbf94 authored by Bob's avatar Bob Committed by Emil Velikov
Browse files

glsl: Catch subscripted calls to undeclared subroutines


generate_array_index fails to check whether the target of a subroutine
call exists in the AST, potentially passing around null ir_rvalue
pointers eventuating in abort/segfault.

Fixes: fd01840c ("glsl: add AoA support to subroutines")
Reviewed-by: default avatarTimothy Arceri <tarceri@itsqueeze.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100438
(cherry picked from commit f09c2cef)
parent 9ffe450d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment