This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Stack spilling reported by Mali Offline Complier

From the guide, this value is related to register pressure. However, I find that some shader with high "work register" have "stack spilling = false", but some shader with low "work register" have "stack spilling = true". It does not make sense for me.

Parents
  • The number of work registers available is configurable (the compiler can choose; assigning more registers reduces spilling but also reduces thread occupancy so "more registers" isn't always the right choice). Compiler has heuristics to try and make a balanced choice, which a shader author cannot directly influence.

    HTH, 
    Pete

Reply
  • The number of work registers available is configurable (the compiler can choose; assigning more registers reduces spilling but also reduces thread occupancy so "more registers" isn't always the right choice). Compiler has heuristics to try and make a balanced choice, which a shader author cannot directly influence.

    HTH, 
    Pete

Children