diff options
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp index 28ef4178aab..ef836939705 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp @@ -102,6 +102,9 @@ fs_visitor::emit_nir_code() nir_lower_var_copies(nir); nir_validate_shader(nir); + /* Get rid of split copies */ + nir_optimize(nir); + nir_lower_io(nir); nir_validate_shader(nir); |