[Mesa-dev] [Bug 100091] Failure to create folder for on-disk shader cache

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 9 03:47:44 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=100091

--- Comment #18 from John <john.ettedgui at gmail.com> ---
(In reply to Emil Velikov from comment #16)
> Some ideas:
>  - a non-timestamp better solution might be applicable/in the works
> (guessing here)

A simple workaround would be to use a combination of the timestamp and the
binary's name (or anything else that identifies the binary, the checksum
wouldn't work as it'd change with each build), and allow more than one base
folder.

So instead of:
~/.cache/mesa/1488874151_1488872775
then overwritten by
~/.cache/mesa/1488874150_1488872775

we'd have:
~/.cache/mesa/radeonsi_dri_1488874151_1488872775
and
~/.cache/mesa/d3dadapter9_1488874150_1488872775

or
~/.cache/mesa/radeonsi_dri/1488874151_1488872775
and
~/.cache/mesa/d3dadapter9/1488874150_1488872775

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170309/8b883483/attachment.html>


More information about the mesa-dev mailing list