mesa/src/microsoft/vulkan
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
..
dzn_abi_helper.h dzn: Upgrade baseline from ID3D12Device2 to 4 2022-11-17 00:13:33 +00:00
dzn_cmd_buffer.c dzn: Use ID3D12GraphicsCommandList8 for front/back stencil ref 2022-11-17 00:13:33 +00:00
dzn_descriptor_set.c dzn: Ensure SRV ResourceMinLODClamp is set to 0.0 2022-11-17 00:13:33 +00:00
dzn_device.c dzn: Don't crash when libd3d12.so can't be found 2022-12-04 01:07:08 +00:00
dzn_dxcore.cpp util: normalize include files under src/util/*.h with util/ prefix in mesa code base 2022-11-10 06:27:25 +00:00
dzn_dxgi.c util: normalize include files under src/util/*.h with util/ prefix in mesa code base 2022-11-10 06:27:25 +00:00
dzn_dxgi.h dzn: Move DXGI code to a separate file and only build it on Windows 2022-07-06 12:18:55 +00:00
dzn_image.c dzn: Ensure SRV ResourceMinLODClamp is set to 0.0 2022-11-17 00:13:33 +00:00
dzn_meta.c dzn: Get max supported shader model 2022-08-25 21:22:49 +00:00
dzn_nir.c dzn: Re-order includes in dzn_nir to prevent TRUE redefinition 2022-07-09 14:04:48 +00:00
dzn_nir.h dzn: Fix triangle-fan emulation 2022-06-15 00:10:42 +00:00
dzn_physical_device_enum.h dzn: Re-order dzn_physical_device_desc so = { 0 } doesn't initialize a struct 2022-07-09 14:04:48 +00:00
dzn_pipeline.c dzn: Use DEPTH_STENCIL_DESC2 for front/back stencil read/write masks 2022-11-17 00:13:33 +00:00
dzn_private.h dzn: Use DEPTH_STENCIL_DESC2 for front/back stencil read/write masks 2022-11-17 00:13:33 +00:00
dzn_query.c dzn: Upgrade baseline from ID3D12Device2 to 4 2022-11-17 00:13:33 +00:00
dzn_sync.c dzn: Add an eventfd sync implementation 2022-07-06 12:18:55 +00:00
dzn_util.c dzn: Upgrade baseline from ID3D12Device2 to 4 2022-11-17 00:13:33 +00:00
dzn_wsi.c dozen: Stop asking for semaphore/fence signaling 2022-07-07 11:44:20 -05:00
meson.build dzn: rename module_dir to icd_lib_path for consistence 2022-09-22 17:54:24 +00:00