mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-31 20:57:07 +02:00
[vk] Removed unused extensions
This commit is contained in:
parent
56bb23c78b
commit
606e4f8817
3 changed files with 0 additions and 12 deletions
|
|
@ -29,9 +29,6 @@
|
||||||
#ifndef VK_KHR_MAINTENANCE_8_EXTENSION_NAME
|
#ifndef VK_KHR_MAINTENANCE_8_EXTENSION_NAME
|
||||||
#define VK_KHR_MAINTENANCE_8_EXTENSION_NAME "VK_KHR_maintenance8"
|
#define VK_KHR_MAINTENANCE_8_EXTENSION_NAME "VK_KHR_maintenance8"
|
||||||
#endif
|
#endif
|
||||||
#ifndef VK_KHR_MAINTENANCE_9_EXTENSION_NAME
|
|
||||||
#define VK_KHR_MAINTENANCE_9_EXTENSION_NAME "VK_KHR_maintenance9"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Sanitize macros
|
// Sanitize macros
|
||||||
#undef CreateEvent
|
#undef CreateEvent
|
||||||
|
|
|
||||||
|
|
@ -1630,9 +1630,6 @@ void Device::RemoveUnsuitableExtensions() {
|
||||||
extensions.maintenance8 = loaded_extensions.contains(VK_KHR_MAINTENANCE_8_EXTENSION_NAME);
|
extensions.maintenance8 = loaded_extensions.contains(VK_KHR_MAINTENANCE_8_EXTENSION_NAME);
|
||||||
RemoveExtensionIfUnsuitable(extensions.maintenance8, VK_KHR_MAINTENANCE_8_EXTENSION_NAME);
|
RemoveExtensionIfUnsuitable(extensions.maintenance8, VK_KHR_MAINTENANCE_8_EXTENSION_NAME);
|
||||||
|
|
||||||
// VK_KHR_maintenance9 (proposed for Vulkan 1.4, no features)
|
|
||||||
extensions.maintenance9 = loaded_extensions.contains(VK_KHR_MAINTENANCE_9_EXTENSION_NAME);
|
|
||||||
RemoveExtensionIfUnsuitable(extensions.maintenance9, VK_KHR_MAINTENANCE_9_EXTENSION_NAME);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Device::SupportsSubgroupStage(VkShaderStageFlags stage_mask) const {
|
bool Device::SupportsSubgroupStage(VkShaderStageFlags stage_mask) const {
|
||||||
|
|
|
||||||
|
|
@ -100,7 +100,6 @@ VK_DEFINE_HANDLE(VmaAllocator)
|
||||||
EXTENSION(KHR, MAINTENANCE_3, maintenance3) \
|
EXTENSION(KHR, MAINTENANCE_3, maintenance3) \
|
||||||
EXTENSION(KHR, MAINTENANCE_7, maintenance7) \
|
EXTENSION(KHR, MAINTENANCE_7, maintenance7) \
|
||||||
EXTENSION(KHR, MAINTENANCE_8, maintenance8) \
|
EXTENSION(KHR, MAINTENANCE_8, maintenance8) \
|
||||||
EXTENSION(KHR, MAINTENANCE_9, maintenance9) \
|
|
||||||
EXTENSION(NV, DEVICE_DIAGNOSTICS_CONFIG, device_diagnostics_config) \
|
EXTENSION(NV, DEVICE_DIAGNOSTICS_CONFIG, device_diagnostics_config) \
|
||||||
EXTENSION(NV, GEOMETRY_SHADER_PASSTHROUGH, geometry_shader_passthrough) \
|
EXTENSION(NV, GEOMETRY_SHADER_PASSTHROUGH, geometry_shader_passthrough) \
|
||||||
EXTENSION(NV, VIEWPORT_ARRAY2, viewport_array2) \
|
EXTENSION(NV, VIEWPORT_ARRAY2, viewport_array2) \
|
||||||
|
|
@ -948,11 +947,6 @@ public:
|
||||||
return extensions.maintenance8;
|
return extensions.maintenance8;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns true if the device supports VK_KHR_maintenance9.
|
|
||||||
bool IsKhrMaintenance9Supported() const {
|
|
||||||
return extensions.maintenance9;
|
|
||||||
}
|
|
||||||
|
|
||||||
[[nodiscard]] static constexpr bool CheckBrokenCompute(VkDriverId driver_id,
|
[[nodiscard]] static constexpr bool CheckBrokenCompute(VkDriverId driver_id,
|
||||||
u32 driver_version) {
|
u32 driver_version) {
|
||||||
if (driver_id == VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS) {
|
if (driver_id == VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue