diff options
author | Timothy Arceri <[email protected]> | 2017-02-23 14:42:07 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-02-24 09:01:59 +1100 |
commit | c24d0aaa9a197ccf7cbaa9154b840aed6397f6bd (patch) | |
tree | ffd65bbda66a0c8273b870b200b4ed8e5b10ce11 /src/mesa/tnl/t_draw.c | |
parent | 261092f7d4f3142760fcce98ccb63b4efd47cc48 (diff) |
st/mesa: fix crash in shader cache cased by race condition
If a thread doesn't load GLSL IR from cache but does load TGSI
from cache (that was created by another thread) than it will
crash due to expecting gl_program_parameter_list to have been
restored from the GLSL IR cache and not be null.
Reviewed-by: Edward O'Callaghan <[email protected]>
Tested-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/mesa/tnl/t_draw.c')
0 files changed, 0 insertions, 0 deletions