r600/sfn: count only distinct literals per instruction group
authorGert Wollny <gert.wollny@collabora.com>
Fri, 30 Apr 2021 18:13:10 +0000 (20:13 +0200)
committerGert Wollny <gert.wollny@collabora.com>
Tue, 18 May 2021 20:07:10 +0000 (22:07 +0200)
commit89672820b7f05b5a345673a9e3943acd194f647b
tree5c9b7d728f982c3dd52f9aca9b65b0bc00fcb8fe
parentaa055f78bad48d526907b094eb61f1e7502f401c
r600/sfn: count only distinct literals per instruction group

This is to avoid useless instruction group splits.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10608>
src/gallium/drivers/r600/sfn/sfn_ir_to_assembly.cpp