projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b689de3
)
r600: Lower lerp after tgsi_to_nir
author
Gert Wollny
<gert.wollny@collabora.com>
Sat, 9 May 2020 16:03:52 +0000
(18:03 +0200)
committer
Marge Bot
<eric+marge@anholt.net>
Tue, 19 May 2020 07:52:13 +0000
(07:52 +0000)
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5085>
src/gallium/drivers/r600/r600_shader.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_shader.c
b/src/gallium/drivers/r600/r600_shader.c
index 346498cd98aaca08fb7cebff8480203cbb540290..0345fad875cb0518f996c6916d98876e4a9df7c2 100644
(file)
--- a/
src/gallium/drivers/r600/r600_shader.c
+++ b/
src/gallium/drivers/r600/r600_shader.c
@@
-203,6
+203,7
@@
int r600_pipe_shader_create(struct pipe_context *ctx,
NIR_PASS_V(sel->nir, nir_lower_int64, ~0);
NIR_PASS_V(sel->nir, nir_opt_vectorize);
}
+ NIR_PASS_V(sel->nir, nir_lower_flrp, ~0, false, false);
}
nir_tgsi_scan_shader(sel->nir, &sel->info, true);