|
|
@ -89,7 +89,8 @@ VK_DEFINE_HANDLE(VmaAllocator) |
|
|
EXTENSION(NV, VIEWPORT_ARRAY2, viewport_array2) \ |
|
|
EXTENSION(NV, VIEWPORT_ARRAY2, viewport_array2) \ |
|
|
EXTENSION(NV, VIEWPORT_SWIZZLE, viewport_swizzle) \ |
|
|
EXTENSION(NV, VIEWPORT_SWIZZLE, viewport_swizzle) \ |
|
|
EXTENSION(EXT, DESCRIPTOR_INDEXING, descriptor_indexing) \ |
|
|
EXTENSION(EXT, DESCRIPTOR_INDEXING, descriptor_indexing) \ |
|
|
EXTENSION(EXT, FILTER_CUBIC, filter_cubic) |
|
|
|
|
|
|
|
|
EXTENSION(EXT, FILTER_CUBIC, filter_cubic) \ |
|
|
|
|
|
EXTENSION(QCOM, FILTER_CUBIC_WEIGHTS, filter_cubic_weights) |
|
|
|
|
|
|
|
|
// Define extensions which must be supported. |
|
|
// Define extensions which must be supported. |
|
|
#define FOR_EACH_VK_MANDATORY_EXTENSION(EXTENSION_NAME) \ |
|
|
#define FOR_EACH_VK_MANDATORY_EXTENSION(EXTENSION_NAME) \ |
|
|
@ -558,6 +559,11 @@ public: |
|
|
return extensions.filter_cubic; |
|
|
return extensions.filter_cubic; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/// Returns true if the device supports VK_QCOM_filter_cubic_weights |
|
|
|
|
|
bool IsQcomFilterCubicWeightsSupported() const { |
|
|
|
|
|
return extensions.filter_cubic_weights; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
/// Returns true if the device supports VK_EXT_line_rasterization. |
|
|
/// Returns true if the device supports VK_EXT_line_rasterization. |
|
|
bool IsExtLineRasterizationSupported() const { |
|
|
bool IsExtLineRasterizationSupported() const { |
|
|
return extensions.line_rasterization; |
|
|
return extensions.line_rasterization; |
|
|
|