Optimised ComputeBuffer/StructuredBuffer size

Hi

I just came across this note from Nvidia and I haven’t seen any mention of it in the Unity docs.
“Aim for structures with sizes divisible by 128 bits (sizeof float4)”

Is Unity doing some behind the scenes magic to make this optimisation? And if not, is it worth doing?

Carl Emil

1 Like

Is it still true :open_mouth: but memory constraints for me might be more important then push speeds…

As

As far as I am aware, yes.

1 Like