used high-bits prior while select depth buffer format.
This commit is contained in:
@@ -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:
|
||||
|
||||
|
Reference in New Issue
Block a user