Timeline for Why does order matter in constant buffers?
Current License: CC BY-SA 4.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 19, 2018 at 15:26 | history | edited | ratchet freak | CC BY-SA 4.0 | added 46 characters in body |
| Nov 19, 2018 at 15:23 | comment | added | user121635 | Can you elaborate a little more on this? Is this occurring when it creates the actual buffer object? Why does this matter if the types are exactly the same with no padding needed? I would expect incorrect behavior during rendering but not prior to that. For example if I have four float types that do different things, and I reorder them, they are all still floats, but now the behavior of the HLSL will change, but it should still create the buffer just fine. | |
| Nov 19, 2018 at 15:08 | history | answered | ratchet freak | CC BY-SA 4.0 |