|
|
|
@ -359,9 +359,14 @@ public:
|
|
|
|
|
return features.features.depthBounds;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// Returns true when blitting from and to depth stencil images is supported.
|
|
|
|
|
bool IsBlitDepthStencilSupported() const {
|
|
|
|
|
return is_blit_depth_stencil_supported;
|
|
|
|
|
/// Returns true when blitting from and to D24S8 images is supported.
|
|
|
|
|
bool IsBlitDepth24Stencil8Supported() const {
|
|
|
|
|
return is_blit_depth24_stencil8_supported;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// Returns true when blitting from and to D32S8 images is supported.
|
|
|
|
|
bool IsBlitDepth32Stencil8Supported() const {
|
|
|
|
|
return is_blit_depth32_stencil8_supported;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// Returns true if the device supports VK_NV_viewport_swizzle.
|
|
|
|
@ -657,7 +662,7 @@ private:
|
|
|
|
|
bool ComputeIsOptimalAstcSupported() const;
|
|
|
|
|
|
|
|
|
|
/// Returns true if the device natively supports blitting depth stencil images.
|
|
|
|
|
bool TestDepthStencilBlits() const;
|
|
|
|
|
bool TestDepthStencilBlits(VkFormat format) const;
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
VkInstance instance; ///< Vulkan instance.
|
|
|
|
@ -722,7 +727,8 @@ private:
|
|
|
|
|
|
|
|
|
|
// Misc features
|
|
|
|
|
bool is_optimal_astc_supported{}; ///< Support for all guest ASTC formats.
|
|
|
|
|
bool is_blit_depth_stencil_supported{}; ///< Support for blitting from and to depth stencil.
|
|
|
|
|
bool is_blit_depth24_stencil8_supported{}; ///< Support for blitting from and to D24S8.
|
|
|
|
|
bool is_blit_depth32_stencil8_supported{}; ///< Support for blitting from and to D32S8.
|
|
|
|
|
bool is_warp_potentially_bigger{}; ///< Host warp size can be bigger than guest.
|
|
|
|
|
bool is_integrated{}; ///< Is GPU an iGPU.
|
|
|
|
|
bool is_virtual{}; ///< Is GPU a virtual GPU.
|
|
|
|
|