Vulkan: How to use vk::BufferPointer for VBOs? #7721
Unanswered
namandixit
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to use
vk::BufferPointer
in HLSL (to SPIR-V) for vertex buffers like following:But this gives error:
array dimensions of struct/class members must be explicit
I am guessing that HLSL doesn't support flexible array members. So what is the correct way of using
vk::BufferPointer
for an array of structs whose length is not known at compile time?Beta Was this translation helpful? Give feedback.
All reactions