mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 19:50:11 +01:00
r600/sfn: run late algebraic optimizations
Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6814>
This commit is contained in:
parent
8a9876a29a
commit
4f4e90bfbb
1 changed files with 3 additions and 0 deletions
|
|
@ -803,7 +803,10 @@ int r600_shader_from_nir(struct r600_context *rctx,
|
|||
|
||||
auto sh = nir_shader_clone(sel->nir, sel->nir);
|
||||
|
||||
NIR_PASS_V(sh, nir_opt_algebraic_late);
|
||||
|
||||
NIR_PASS_V(sh, nir_lower_locals_to_regs);
|
||||
|
||||
//NIR_PASS_V(sel->nir, nir_opt_algebraic);
|
||||
//NIR_PASS_V(sel->nir, nir_copy_prop);
|
||||
NIR_PASS_V(sh, nir_lower_to_source_mods, nir_lower_float_source_mods);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue