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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user