Advertisement
Guest User

Untitled

a guest
Apr 21st, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  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);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement