mesa/src/microsoft
Jan Alexander Steffens (heftig) ff39ada94f dzn: Don't crash when libd3d12.so can't be found
`dzn_instance_create` will call `dzn_instance_destroy` when the d3d12
library fails to load. Just like the issue in `d3d12_screen`, this will
lead to a crash because `d3d12_mod` is NULL.

To fix this, only close the library after if it was actually opened.

Cc: mesa-stable
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20145>
(cherry picked from commit b513389400)
2022-12-14 20:47:00 +00:00
..
ci ci: Trigger building visual studio docker image 2022-10-20 22:52:06 +00:00
clc
compiler dxil: Use nir_const_value_for_uint in dxil_nir_lower_int_samplers 2022-12-14 20:47:00 +00:00
spirv_to_dxil nir: Drop infer_non_readable option for nir_opt_access() 2022-11-02 03:42:04 +00:00
vulkan dzn: Don't crash when libd3d12.so can't be found 2022-12-14 20:47:00 +00:00
meson.build