diff options
author | Icecream95 <[email protected]> | 2020-01-12 14:19:25 +1300 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2020-01-18 11:47:34 -0500 |
commit | d8a3501f1b2ef2d66091cc1e9c4ede3fb1b0da10 (patch) | |
tree | 7304d6aa4011b031f02fc06066323fe6f850bf2b /src/gallium/drivers/panfrost/pan_bo.c | |
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_bo.c')
0 files changed, 0 insertions, 0 deletions