renderer_vulkan: unused extension removed

This commit is contained in:
psucien 2024-06-04 12:43:23 +02:00
parent d491bbf366
commit cd87005ded
2 changed files with 0 additions and 14 deletions

View File

@ -150,7 +150,6 @@ bool Instance::CreateDevice() {
external_memory_host = add_extension(VK_EXT_EXTERNAL_MEMORY_HOST_EXTENSION_NAME); external_memory_host = add_extension(VK_EXT_EXTERNAL_MEMORY_HOST_EXTENSION_NAME);
tooling_info = add_extension(VK_EXT_TOOLING_INFO_EXTENSION_NAME); tooling_info = add_extension(VK_EXT_TOOLING_INFO_EXTENSION_NAME);
custom_border_color = add_extension(VK_EXT_CUSTOM_BORDER_COLOR_EXTENSION_NAME); custom_border_color = add_extension(VK_EXT_CUSTOM_BORDER_COLOR_EXTENSION_NAME);
index_type_uint8 = add_extension(VK_KHR_INDEX_TYPE_UINT8_EXTENSION_NAME);
add_extension(VK_KHR_PUSH_DESCRIPTOR_EXTENSION_NAME); add_extension(VK_KHR_PUSH_DESCRIPTOR_EXTENSION_NAME);
add_extension(VK_KHR_MAINTENANCE_4_EXTENSION_NAME); add_extension(VK_KHR_MAINTENANCE_4_EXTENSION_NAME);
// The next two extensions are required to be available together in order to support write masks // The next two extensions are required to be available together in order to support write masks
@ -219,9 +218,6 @@ bool Instance::CreateDevice() {
.customBorderColors = true, .customBorderColors = true,
.customBorderColorWithoutFormat = true, .customBorderColorWithoutFormat = true,
}, },
vk::PhysicalDeviceIndexTypeUint8FeaturesEXT{
.indexTypeUint8 = true,
},
vk::PhysicalDeviceColorWriteEnableFeaturesEXT{ vk::PhysicalDeviceColorWriteEnableFeaturesEXT{
.colorWriteEnable = true, .colorWriteEnable = true,
}, },
@ -230,10 +226,6 @@ bool Instance::CreateDevice() {
}, },
}; };
if (!index_type_uint8) {
device_chain.unlink<vk::PhysicalDeviceIndexTypeUint8FeaturesEXT>();
}
if (!color_write_en) { if (!color_write_en) {
device_chain.unlink<vk::PhysicalDeviceColorWriteEnableFeaturesEXT>(); device_chain.unlink<vk::PhysicalDeviceColorWriteEnableFeaturesEXT>();
device_chain.unlink<vk::PhysicalDeviceExtendedDynamicState3FeaturesEXT>(); device_chain.unlink<vk::PhysicalDeviceExtendedDynamicState3FeaturesEXT>();

View File

@ -81,11 +81,6 @@ public:
return custom_border_color; return custom_border_color;
} }
/// Returns true when VK_EXT_index_type_uint8 is supported
bool IsIndexTypeUint8Supported() const {
return index_type_uint8;
}
/// Returns true when VK_EXT_fragment_shader_interlock is supported /// Returns true when VK_EXT_fragment_shader_interlock is supported
bool IsFragmentShaderInterlockSupported() const { bool IsFragmentShaderInterlockSupported() const {
return fragment_shader_interlock; return fragment_shader_interlock;
@ -216,7 +211,6 @@ private:
bool image_view_reinterpretation{true}; bool image_view_reinterpretation{true};
bool timeline_semaphores{}; bool timeline_semaphores{};
bool custom_border_color{}; bool custom_border_color{};
bool index_type_uint8{};
bool fragment_shader_interlock{}; bool fragment_shader_interlock{};
bool image_format_list{}; bool image_format_list{};
bool pipeline_creation_cache_control{}; bool pipeline_creation_cache_control{};