Fe₂🦀₃⋅H₂🦀 on Nostr: What I'm currently trying to figure out is if I have vertex and index memory within ...
What I'm currently trying to figure out is if I have vertex and index memory within the same buffer what are the alignment requirements on that. At first glance the spec does not seem to say anything about it but I know that's not possible. NVidia says over and over to do that strategy but they don't ever say how.
The closest thing I've found seems to state that the vertices need to be aligned to their first individual element boundary, but theres a range of answers from "pretend you're allocating a buffer and use that" to "it depends on the hardware lmfao"
Published at
2025-05-06 13:36:52Event JSON
{
"id": "7e9ec93858eea1777777c5ff8e8f47f5c8d8033cfaa9612f9ded076949d88279",
"pubkey": "26976d1f3f3270311c86a59315751d66bd770aa35a929529271fca721afee1af",
"created_at": 1746538612,
"kind": 1,
"tags": [
[
"proxy",
"https://clubcyberia.co/objects/10131cac-a7dc-457f-b3e8-46eebb9c0d3d",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.mostr.pub"
]
],
"content": "What I'm currently trying to figure out is if I have vertex and index memory within the same buffer what are the alignment requirements on that. At first glance the spec does not seem to say anything about it but I know that's not possible. NVidia says over and over to do that strategy but they don't ever say how. \n\nThe closest thing I've found seems to state that the vertices need to be aligned to their first individual element boundary, but theres a range of answers from \"pretend you're allocating a buffer and use that\" to \"it depends on the hardware lmfao\"",
"sig": "fd56e27071105fcb4b38dc4e9393e355a4fd3768eae3e462d1617a0e753dbf0039c9db3460b55e1679af944cccaea96106c3a7b71a87197c69335ab546bfb989"
}