|
|
|
@ -110,7 +110,7 @@ VK_DEFINE_HANDLE(VmaAllocator) |
|
|
|
EXTENSION(EXT, FILTER_CUBIC, filter_cubic) \ |
|
|
|
EXTENSION(QCOM, FILTER_CUBIC_WEIGHTS, filter_cubic_weights) \ |
|
|
|
EXTENSION(EXT, GRAPHICS_PIPELINE_LIBRARY, graphics_pipeline_library) \ |
|
|
|
EXTENSION(KHR, DYNAMIC_RENDERING, dynamic_rendering_ext) \ |
|
|
|
EXTENSION(KHR, DYNAMIC_RENDERING, dynamic_rendering) \ |
|
|
|
|
|
|
|
// Define extensions which must be supported. |
|
|
|
#define FOR_EACH_VK_MANDATORY_EXTENSION(EXTENSION_NAME) \ |
|
|
|
@ -357,8 +357,8 @@ public: |
|
|
|
|
|
|
|
/// Returns true if the device supports VK_KHR_dynamic_rendering. |
|
|
|
bool IsDynamicRenderingSupported() const { |
|
|
|
return features.dynamic_rendering.dynamicRendering && |
|
|
|
(instance_version >= VK_API_VERSION_1_3 || extensions.dynamic_rendering_ext); |
|
|
|
return features.dynamic_rendering.dynamicRendering && |
|
|
|
(instance_version >= VK_API_VERSION_1_3 || extensions.dynamic_rendering); |
|
|
|
} |
|
|
|
|
|
|
|
/// Returns true if ASTC is natively supported. |
|
|
|
|