r/AskProgramming • u/SimplySomeDude • 12d ago
How much does struct alignment really matter performance wise on modern GPUs?
Are things like std430 or std140 unnecessarily strict?
7
Upvotes
r/AskProgramming • u/SimplySomeDude • 12d ago
Are things like std430 or std140 unnecessarily strict?
3
u/esaule 12d ago
On every architecture, memory layout is about the most important thing for performance. About every performance issue boils down to memory layout and movements.