Skip to content

Add option to 0 init variable in shaders

2 commits:

  • the first one is from !1769 (closed) - @alyssa would you mind merging it? (if you don't want this commit I can copy the nir_undef_to_zero function only for radeonsi).
  • the second adds a AMD_DEBUG=zeroinit option to use nir_undef_to_zero after other optimizations (maybe it should be run before? not sure)
Edited by Pierre-Eric Pelloux-Prayer

Merge request reports