|
Hey, I realize this is a vague question. Apologies! A while back I remember reading some of the rationale for removing non-float datatypes from either uniforms or instance buffers (can't remember which) because of some investigation @bkaradzic had done where he had concluded this data was being sent up in packs of floats at a time under the hood. This lead to some API being changed or removed or something of the sort. I can't remember what it was about, but it had some interesting technical information that I'd really like to read over again - does anyone know what I'm referring to and might have the link? Thanks so much! |
Answered by
bkaradzic
Mar 10, 2021
Replies: 1 comment 4 replies
|
Try using different type uniforms with D3D compiler, and observe layout in disassembly. You would get: |
4 replies
Answer selected by
Qix-
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try using different type uniforms with D3D compiler, and observe layout in disassembly.
You would get: