-
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! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Try using different type uniforms with D3D compiler, and observe layout in disassembly. You would get:
|
Beta Was this translation helpful? Give feedback.
Try using different type uniforms with D3D compiler, and observe layout in disassembly.
You would get: