used high-bits prior while select depth buffer format.

This commit is contained in:
hyzboy 2021-11-30 19:34:24 +08:00
parent 3c79a01a70
commit 0852b379a2

View File

@ -92,8 +92,8 @@ public:
bool IsColorAttachmentBuffer(const VkFormat format)const{return BufferSupport(format,VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT);}
bool IsDepthAttachmentBuffer(const VkFormat format)const{return BufferSupport(format,VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT);}
VkFormat GetDepthFormat(bool lower_to_high=true)const;
VkFormat GetDepthStencilFormat(bool lower_to_high=true)const;
VkFormat GetDepthFormat(bool lower_to_high=false)const;
VkFormat GetDepthStencilFormat(bool lower_to_high=false)const;
public: