summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorGert Wollny <gert.wollny@collabora.com>2021-05-10 08:56:28 +0200
committerGert Wollny <gert.wollny@collabora.com>2021-05-15 09:58:35 +0200
commitb3499435ec86c53820ea9b0a52f88f4f53b546f5 (patch)
tree7e6bf5fd232c289dc7319002863fd2cd490ef3d8 /src/gallium/drivers
parent4c045ad11eddaf6c18019fbaa02ffcae20628848 (diff)
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>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/r600/r600_pipe_common.c1
1 files changed, 1 insertions, 0 deletions
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;