diff options
author | Lionel Landwerlin <[email protected]> | 2019-08-07 18:03:37 +0300 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2019-08-21 09:44:10 +0200 |
commit | 8a2465e3f3fed685611bd5824e955c83c0197a0a (patch) | |
tree | 4d95728694c2b80e0ae48429ad5ab4b11f2543f0 /src/compiler/nir/nir_opt_algebraic.py | |
parent | e4da8b9c331cc3ae1b86b3a7860231e202463db0 (diff) |
radeonsi: take reference glsl types for compile threads
An application quitting before the destroying its GL context and
binding a NULL context might still have a radeonsi compiler thread
running and potentially still accessing the types.
Therefore take a reference for the duration of the threads' lifetime.
v2: Only ref the glsl types, the builtins should be used by the time
shader data gets to a gallium driver.
Signed-off-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_opt_algebraic.py')
0 files changed, 0 insertions, 0 deletions