Skip to content

panfrost: Dynamically allocate shader variants

Icecream95 requested to merge icecream95/mesa:alloc-variants into master

This fixes a crash in LZDoom where over 16 shader variants are needed for a few shaders in some maps, and should also save a few kilobytes of RAM as most of the time only one or two variants of the 8 previously allocated are actually needed.

Merge request reports

Loading