Skip to content

radv,aco: use all attributes in a binding to obtain an alignment for fetch

Rhys Perry requested to merge pendingchaos/mesa:radv_aco_vf_align into main

Instead of assuming scalar alignment for an attribute, we can use the required alignment of other attributes in a binding to expect a higher one.

This uses the alignment of all attributes in the pipeline, not just the ones loaded. This can create slightly better code, but could break pipelines which relied on unused (and unaligned) attributes no being loaded. I don't think such pipelines are allowed by the spec.

This should help regressions from !7751 (merged) and !8363 (merged)

Merge request reports

Loading