mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 00:50:07 +01:00
freedreno/ir3: Lower the hadd operations
There do not seem to be instructions for the ihadd/uhadd NIR operations. Lower them to simpler ops. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30835>
This commit is contained in:
parent
8707c15b5b
commit
e20f02f64a
1 changed files with 3 additions and 0 deletions
|
|
@ -108,6 +108,9 @@ static const nir_shader_compiler_options ir3_base_options = {
|
|||
.lower_cs_local_index_to_id = true,
|
||||
.lower_wpos_pntc = true,
|
||||
|
||||
.lower_hadd = true,
|
||||
.lower_hadd64 = true,
|
||||
|
||||
.lower_int64_options = (nir_lower_int64_options)~0,
|
||||
.lower_doubles_options = (nir_lower_doubles_options)~0,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue