r600/sfn: lower iadd3 to iadd(iadd)

Just to make the query shader simpler to look at.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
This commit is contained in:
Gert Wollny 2026-05-06 00:24:27 +02:00
parent 1278a547f5
commit 7bdc3d74d3

View file

@ -49,6 +49,8 @@ lower_alu = [
(('seq', ('fadd', 'a', 'b'), 0.0), ('seq', 'a', ('fneg', 'b'))),
(('sne', ('fadd', 'a', 'b'), 0.0), ('sne', 'a', ('fneg', 'b'))),
(('iadd3', 'a', 'b', 'c'), ('iadd', 'a', ('iadd', 'b', 'c'))),
]