|
@@ -40,6 +40,10 @@ public:
|
|
|
VkFormat GetSupportedFormat(VkFormat wanted_format, VkFormatFeatureFlags wanted_usage,
|
|
VkFormat GetSupportedFormat(VkFormat wanted_format, VkFormatFeatureFlags wanted_usage,
|
|
|
FormatType format_type) const;
|
|
FormatType format_type) const;
|
|
|
|
|
|
|
|
|
|
+ /// Returns true if a format is supported.
|
|
|
|
|
+ bool IsFormatSupported(VkFormat wanted_format, VkFormatFeatureFlags wanted_usage,
|
|
|
|
|
+ FormatType format_type) const;
|
|
|
|
|
+
|
|
|
/// Reports a device loss.
|
|
/// Reports a device loss.
|
|
|
void ReportLoss() const;
|
|
void ReportLoss() const;
|
|
|
|
|
|
|
@@ -370,10 +374,6 @@ private:
|
|
|
/// Returns true if the device natively supports blitting depth stencil images.
|
|
/// Returns true if the device natively supports blitting depth stencil images.
|
|
|
bool TestDepthStencilBlits() const;
|
|
bool TestDepthStencilBlits() const;
|
|
|
|
|
|
|
|
- /// Returns true if a format is supported.
|
|
|
|
|
- bool IsFormatSupported(VkFormat wanted_format, VkFormatFeatureFlags wanted_usage,
|
|
|
|
|
- FormatType format_type) const;
|
|
|
|
|
-
|
|
|
|
|
VkInstance instance; ///< Vulkan instance.
|
|
VkInstance instance; ///< Vulkan instance.
|
|
|
vk::DeviceDispatch dld; ///< Device function pointers.
|
|
vk::DeviceDispatch dld; ///< Device function pointers.
|
|
|
vk::PhysicalDevice physical; ///< Physical device.
|
|
vk::PhysicalDevice physical; ///< Physical device.
|