commit | d8a3501f1b2ef2d66091cc1e9c4ede3fb1b0da10 | [log] [tgz] |
---|---|---|
author | Icecream95 <ixn@keemail.me> | Sun Jan 12 14:19:25 2020 +1300 |
committer | Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> | Sat Jan 18 11:47:34 2020 -0500 |
tree | 7304d6aa4011b031f02fc06066323fe6f850bf2b | |
parent | bef716b56c6f50e8e448fd1cd677eca10140f24e [diff] |
panfrost: Dynamically allocate shader variants 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. Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>