diff --git a/include/vkd3d_vk_includes.h b/include/vkd3d_vk_includes.h index 11c061503c..aa7ed0d9f5 100644 --- a/include/vkd3d_vk_includes.h +++ b/include/vkd3d_vk_includes.h @@ -40,6 +40,7 @@ typedef enum VkImageLayout VkImageLayout; typedef enum D3D12_VK_EXTENSION { + D3D12_VK_EXT_OPACITY_MICROMAP = 0x0, D3D12_VK_NVX_BINARY_IMPORT = 0x1, D3D12_VK_NVX_IMAGE_VIEW_HANDLE = 0x2, D3D12_VK_NV_LOW_LATENCY_2 = 0x3 diff --git a/libs/vkd3d/device_vkd3d_ext.c b/libs/vkd3d/device_vkd3d_ext.c index a8c07fe170..8f0c65cef7 100644 --- a/libs/vkd3d/device_vkd3d_ext.c +++ b/libs/vkd3d/device_vkd3d_ext.c @@ -69,6 +69,9 @@ static BOOL STDMETHODCALLTYPE d3d12_device_vkd3d_ext_GetExtensionSupport(d3d12_d TRACE("iface %p, extension %u \n", iface, extension); switch (extension) { + case D3D12_VK_EXT_OPACITY_MICROMAP: + ret_val = device->vk_info.EXT_opacity_micromap; + break; case D3D12_VK_NVX_BINARY_IMPORT: ret_val = device->vk_info.NVX_binary_import; break;