r600/sfn: Ignore precision when linking

There doesn't seem to be any speciifc support for passing arount
mediump and lowp data, so when linking these specifiers can be ignored
theerby saving IO instructions.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10722>
This commit is contained in:
Gert Wollny
2021-05-10 08:56:28 +02:00
parent 4c045ad11e
commit b3499435ec

View File

@@ -1334,6 +1334,7 @@ bool r600_common_screen_init(struct r600_common_screen *rscreen,
.lower_find_msb_to_reverse = true,
.lower_to_scalar = true,
.lower_to_scalar_filter = r600_lower_to_scalar_instr_filter,
.linker_ignore_precision = true,
};
rscreen->nir_options = nir_options;