mesa/src/microsoft
Jan Alexander Steffens (heftig) b513389400 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>
2022-12-04 01:07:08 +00:00
..
ci ci/dzn: add flake 2022-11-18 23:04:14 +00:00
clc microsoft/clc: Add a test for nested function-temp arrays 2022-12-02 09:53:09 -08:00
compiler dxil: Use nir_const_value_for_uint in dxil_nir_lower_int_samplers 2022-12-02 23:12:30 +00:00
spirv_to_dxil microsoft/spirv_to_dxil: Properly handle load- and is_helper_invocation 2022-12-02 16:29:13 +00:00
vulkan dzn: Don't crash when libd3d12.so can't be found 2022-12-04 01:07:08 +00:00
meson.build d3d12: Move the D3D12ResourceState code to the gallium driver 2022-04-20 23:45:28 -07:00