summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/rastpos.h
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-02-23 14:42:07 +1100
committerTimothy Arceri <[email protected]>2017-02-24 09:01:59 +1100
commitc24d0aaa9a197ccf7cbaa9154b840aed6397f6bd (patch)
treeffd65bbda66a0c8273b870b200b4ed8e5b10ce11 /src/mesa/main/rastpos.h
parent261092f7d4f3142760fcce98ccb63b4efd47cc48 (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/main/rastpos.h')
0 files changed, 0 insertions, 0 deletions