SHARE
TWEET

Untitled

a guest Apr 21st, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/src/gallium/drivers/lima/lima_program.c b/src/gallium/drivers/lima/lima_program.c
  2. index 75e45f92fd..f62c189dfa 100644
  3. --- a/src/gallium/drivers/lima/lima_program.c
  4. +++ b/src/gallium/drivers/lima/lima_program.c
  5. @@ -84,7 +84,6 @@ lima_program_optimize_vs_nir(struct nir_shader *s)
  6.     bool progress;
  7.  
  8.     NIR_PASS_V(s, nir_lower_io, nir_var_all, type_size, 0);
  9. -   NIR_PASS_V(s, nir_lower_sincos);
  10.     NIR_PASS_V(s, nir_opt_global_to_local);
  11.     NIR_PASS_V(s, nir_lower_regs_to_ssa);
  12.     NIR_PASS_V(s, nir_lower_load_const_to_scalar);
  13. @@ -113,6 +112,7 @@ lima_program_optimize_vs_nir(struct nir_shader *s)
  14.                 nir_var_function_temp);
  15.     } while (progress);
  16.  
  17. +   NIR_PASS_V(s, nir_lower_sincos);
  18.     NIR_PASS_V(s, nir_lower_locals_to_regs);
  19.     NIR_PASS_V(s, nir_convert_from_ssa, true);
  20.     NIR_PASS_V(s, nir_remove_dead_variables, nir_var_function_temp);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top