used high-bits prior while select depth buffer format.
This commit is contained in:
parent
3c79a01a70
commit
0852b379a2
@ -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:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user