diff options
author | George Barrett <[email protected]> | 2017-11-19 21:55:10 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-11-20 11:04:04 +1100 |
commit | f09c2cefdd53cd61562a994294e9d0630868d2da (patch) | |
tree | 2238fe96c95c03888b56a1f4f6a21cf6ff77ec71 /scons | |
parent | 514db90448ece28f6acaffea6358c715c47b359a (diff) |
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: fd01840c0bd3 ("glsl: add AoA support to subroutines")
Reviewed-by: Timothy Arceri <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100438
Diffstat (limited to 'scons')
0 files changed, 0 insertions, 0 deletions