Skip to content

aco: rewrite SDWA selector

Daniel Schürmann requested to merge daniel-schuermann/mesa:aco_sdwa into main

This commit introduces a new struct SubdwordSel in order to ease and clean up the usage of SDWA selections. This includes removing the distinction between register-allocated and fixed SDWA selections. Instead, SDWA selections can now also access the high bits of subdword variables. Alignment and sizes are validated accordingly. Size, offset and sign_extend can be evaluated via helper methods.

Merge request reports

Loading