Add support for raw buffer views (not mesh output)

This commit is contained in:
baldurk committed 2017-01-26 23:31:58 +00:00
1 parent bac0c011cd
commit 9690db525b
9 files changed
+561 -331

No files matched your search

+1 -1
View File
@@ -759,7 +759,7 @@ ShaderVariable FormatElement::GetShaderVar(const byte *&data, const byte *end) c
return ret;
}
uint32_t FormatElement::byteSize()
uint32_t FormatElement::byteSize() const
{
uint32_t vecSize = format.compByteWidth * format.compCount;