<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Failure to create folder for on-disk shader cache"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100091#c18">Comment # 18</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Failure to create folder for on-disk shader cache"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100091">bug 100091</a>
              from <span class="vcard"><a class="email" href="mailto:john.ettedgui@gmail.com" title="John <john.ettedgui@gmail.com>"> <span class="fn">John</span></a>
</span></b>
        <pre>(In reply to Emil Velikov from <a href="show_bug.cgi?id=100091#c16">comment #16</a>)
<span class="quote">> Some ideas:
>  - a non-timestamp better solution might be applicable/in the works
> (guessing here)</span >

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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>