更改stride校验函数定义位置

This commit is contained in:
HuYingzhuo 2019-04-16 14:52:48 +08:00
parent e456bca769
commit e55896059f
2 changed files with 4 additions and 6 deletions

View File

@ -11,6 +11,10 @@
VK_NAMESPACE_BEGIN
using CharPointerList=hgl::List<const char *>;
#ifdef _DEBUG
bool CheckStrideBytesByFormat();
#endif//_DEBUG
uint32_t GetStrideByFormat(const VkFormat &);
inline void debug_out(const hgl::List<VkLayerProperties> &layer_properties)

View File

@ -62,12 +62,6 @@ bool LoadShader(VkDevice device)
return(true);
}
#ifdef _DEBUG
VK_NAMESPACE_BEGIN
bool CheckStrideBytesByFormat();
VK_NAMESPACE_END
#endif//
int main(int,char **)
{
#ifdef _DEBUG