summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2018-01-31 15:53:37 +0100
committerSamuel Pitoiset <[email protected]>2018-02-01 09:40:11 +0100
commit2ef5ce11985c7ccd34887d00ab57e32d4036dbed (patch)
tree8c9fc27ba7309b143e7fb81f351c1c96765ec40f /src/mesa
parent4922e7f25c1a42779bab11aff6489d8a39a17061 (diff)
radv: do not insert shaders in cache when it's disabled
When the application doesn't provide its own pipeline cache, the driver uses a in-memory cache but it shouldn't insert any entries when the cache is explicitely disabled by the user. Found while running my experimental pipeline-db tool with a ton of shaders, the memory footprint was just huge, and sometimes the process was even killed... Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/mesa')
0 files changed, 0 insertions, 0 deletions