Skip to content

Draft: freedreno/ir3: prevent autoconversion of 16-bit integers

David Heidelberg requested to merge dh/mesa:241002-no-cp-on-16bit into main

What does this MR do and why?

freedreno/ir3: prevent autoconversion on 16-bit integers

Freedreno uses CONSTANT_DEMOTION_ENABLE, which will do automatic
conversion, but only for floats.
Manual conversion must be kept for 16-bit integer types.

Fixes piglit CL tests:
program@execute@scalar-arithmetic-short
program@execute@scalar-comparison-ushort
program@execute@scalar-load-short

Signed-off-by: David Heidelberg <david@ixit.cz>

Merge request reports

Loading