We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Buffer construction when provided a struct type executes following code:
// Derive struct size from struct type. if (m_desc.struct_type) { ref<const TypeLayoutReflection> type = m_desc.struct_type->unwrap_array(); if (type->element_type_layout()) type = type->element_type_layout(); SGL_CHECK(type, "Invalid struct type."); m_desc.struct_size = type->stride(); m_desc.struct_type = nullptr; }
This fails for vectors and finds the actual scalar type. Need to fix up but not sure what the intended behaviour is in the case of other types.
The text was updated successfully, but these errors were encountered:
skallweitNV
No branches or pull requests
Buffer construction when provided a struct type executes following code:
// Derive struct size from struct type. if (m_desc.struct_type) { ref<const TypeLayoutReflection> type = m_desc.struct_type->unwrap_array(); if (type->element_type_layout()) type = type->element_type_layout(); SGL_CHECK(type, "Invalid struct type."); m_desc.struct_size = type->stride(); m_desc.struct_type = nullptr; }
This fails for vectors and finds the actual scalar type. Need to fix up but not sure what the intended behaviour is in the case of other types.
The text was updated successfully, but these errors were encountered: