1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-19 05:52:11 +01:00

[dxvk] Drop VK_KHR_create_renderpass2

This commit is contained in:
Philip Rebohle 2022-07-14 20:08:15 +02:00
parent d657a526ae
commit b701dd497f
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
3 changed files with 5 additions and 10 deletions

View File

@ -283,7 +283,7 @@ namespace dxvk {
DxvkDeviceFeatures enabledFeatures) { DxvkDeviceFeatures enabledFeatures) {
DxvkDeviceExtensions devExtensions; DxvkDeviceExtensions devExtensions;
std::array<DxvkExt*, 30> devExtensionList = {{ std::array<DxvkExt*, 29> devExtensionList = {{
&devExtensions.amdMemoryOverallocationBehaviour, &devExtensions.amdMemoryOverallocationBehaviour,
&devExtensions.amdShaderFragmentMask, &devExtensions.amdShaderFragmentMask,
&devExtensions.ext4444Formats, &devExtensions.ext4444Formats,
@ -303,7 +303,6 @@ namespace dxvk {
&devExtensions.extShaderStencilExport, &devExtensions.extShaderStencilExport,
&devExtensions.extTransformFeedback, &devExtensions.extTransformFeedback,
&devExtensions.extVertexAttributeDivisor, &devExtensions.extVertexAttributeDivisor,
&devExtensions.khrCreateRenderPass2,
&devExtensions.khrDepthStencilResolve, &devExtensions.khrDepthStencilResolve,
&devExtensions.khrDriverProperties, &devExtensions.khrDriverProperties,
&devExtensions.khrDynamicRendering, &devExtensions.khrDynamicRendering,

View File

@ -295,7 +295,6 @@ namespace dxvk {
DxvkExt extShaderStencilExport = { VK_EXT_SHADER_STENCIL_EXPORT_EXTENSION_NAME, DxvkExtMode::Optional }; DxvkExt extShaderStencilExport = { VK_EXT_SHADER_STENCIL_EXPORT_EXTENSION_NAME, DxvkExtMode::Optional };
DxvkExt extTransformFeedback = { VK_EXT_TRANSFORM_FEEDBACK_EXTENSION_NAME, DxvkExtMode::Optional }; DxvkExt extTransformFeedback = { VK_EXT_TRANSFORM_FEEDBACK_EXTENSION_NAME, DxvkExtMode::Optional };
DxvkExt extVertexAttributeDivisor = { VK_EXT_VERTEX_ATTRIBUTE_DIVISOR_EXTENSION_NAME, DxvkExtMode::Optional }; DxvkExt extVertexAttributeDivisor = { VK_EXT_VERTEX_ATTRIBUTE_DIVISOR_EXTENSION_NAME, DxvkExtMode::Optional };
DxvkExt khrCreateRenderPass2 = { VK_KHR_CREATE_RENDERPASS_2_EXTENSION_NAME, DxvkExtMode::Required };
DxvkExt khrDepthStencilResolve = { VK_KHR_DEPTH_STENCIL_RESOLVE_EXTENSION_NAME, DxvkExtMode::Required }; DxvkExt khrDepthStencilResolve = { VK_KHR_DEPTH_STENCIL_RESOLVE_EXTENSION_NAME, DxvkExtMode::Required };
DxvkExt khrDriverProperties = { VK_KHR_DRIVER_PROPERTIES_EXTENSION_NAME, DxvkExtMode::Optional }; DxvkExt khrDriverProperties = { VK_KHR_DRIVER_PROPERTIES_EXTENSION_NAME, DxvkExtMode::Optional };
DxvkExt khrDynamicRendering = { VK_KHR_DYNAMIC_RENDERING_EXTENSION_NAME, DxvkExtMode::Required }; DxvkExt khrDynamicRendering = { VK_KHR_DYNAMIC_RENDERING_EXTENSION_NAME, DxvkExtMode::Required };

View File

@ -231,6 +231,7 @@ namespace dxvk::vk {
VULKAN_FN(vkCreateFramebuffer); VULKAN_FN(vkCreateFramebuffer);
VULKAN_FN(vkDestroyFramebuffer); VULKAN_FN(vkDestroyFramebuffer);
VULKAN_FN(vkCreateRenderPass); VULKAN_FN(vkCreateRenderPass);
VULKAN_FN(vkCreateRenderPass2);
VULKAN_FN(vkDestroyRenderPass); VULKAN_FN(vkDestroyRenderPass);
VULKAN_FN(vkGetRenderAreaGranularity); VULKAN_FN(vkGetRenderAreaGranularity);
VULKAN_FN(vkCreateCommandPool); VULKAN_FN(vkCreateCommandPool);
@ -289,17 +290,13 @@ namespace dxvk::vk {
VULKAN_FN(vkCmdCopyQueryPoolResults); VULKAN_FN(vkCmdCopyQueryPoolResults);
VULKAN_FN(vkCmdPushConstants); VULKAN_FN(vkCmdPushConstants);
VULKAN_FN(vkCmdBeginRenderPass); VULKAN_FN(vkCmdBeginRenderPass);
VULKAN_FN(vkCmdBeginRenderPass2);
VULKAN_FN(vkCmdNextSubpass); VULKAN_FN(vkCmdNextSubpass);
VULKAN_FN(vkCmdNextSubpass2);
VULKAN_FN(vkCmdEndRenderPass); VULKAN_FN(vkCmdEndRenderPass);
VULKAN_FN(vkCmdEndRenderPass2);
VULKAN_FN(vkCmdExecuteCommands); VULKAN_FN(vkCmdExecuteCommands);
#ifdef VK_KHR_create_renderpass2
VULKAN_FN(vkCreateRenderPass2KHR);
VULKAN_FN(vkCmdBeginRenderPass2KHR);
VULKAN_FN(vkCmdNextSubpass2KHR);
VULKAN_FN(vkCmdEndRenderPass2KHR);
#endif
#ifdef VK_KHR_swapchain #ifdef VK_KHR_swapchain
VULKAN_FN(vkCreateSwapchainKHR); VULKAN_FN(vkCreateSwapchainKHR);
VULKAN_FN(vkDestroySwapchainKHR); VULKAN_FN(vkDestroySwapchainKHR);