Use const arrays with dynamic indexes, shader code cleanup #16174
Labels
A-Rendering
Drawing game state to the screen
C-Code-Quality
A section of code that is hard to understand or change
D-Shaders
This code uses GPU shader languages
S-Ready-For-Implementation
This issue is ready for an implementation PR. Go for it!
Milestone
Something we can finally now do is use const arrays with dynamic indexes, for e.g. shadow sampling patterns.
We should take advantage of this to cleanup a bunch of shader code.
Originally posted by @JMS55 in #15988 (comment)
The text was updated successfully, but these errors were encountered: