From b3499435ec86c53820ea9b0a52f88f4f53b546f5 Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Mon, 10 May 2021 08:56:28 +0200 Subject: [PATCH] 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 Part-of: --- src/gallium/drivers/r600/r600_pipe_common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/r600/r600_pipe_common.c b/src/gallium/drivers/r600/r600_pipe_common.c index 9599ba7af2b..68430748e13 100644 --- a/src/gallium/drivers/r600/r600_pipe_common.c +++ b/src/gallium/drivers/r600/r600_pipe_common.c @@ -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;