Add support for raw buffer views (not mesh output)

This commit is contained in:
baldurk
2017-01-26 23:27:08 +00:00
parent bac0c011cd
commit 9690db525b
9 changed files with 561 additions and 331 deletions
+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;