Skip to content

freedreno/ir3: mad.x24 works only with 32-bit registers

David Heidelberg requested to merge dh/mesa:240924-mads24-fix into main

What does this MR do and why?

mad.s24 and mad.u24 does allow only 32-bit registers and input and output. For 16-bit operations, there is mad.x16 variant.

Fixes following piglit tests on Adreno 630:
program@execute@builtin@builtin-char-mad_sat-1.0.generated
program@execute@builtin@builtin-uchar-mad_sat-1.0.generated

Cc: mesa-stable
Signed-off-by: David Heidelberg <david@ixit.cz>
Edited by David Heidelberg

Merge request reports

Loading