diff options
author | Timothy Arceri <[email protected]> | 2017-03-13 11:07:30 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-03-15 11:15:11 +1100 |
commit | 50989f87e62e0b9a4796c565a103ce45c684c673 (patch) | |
tree | 27f6aa8b87beebc07438485bb683ed3da8d2423d /autogen.sh | |
parent | fc5ec64ba3bb0e337127443a85e2a3f23abba34b (diff) |
util/disk_cache: use a thread queue to write to shader cache
This should help reduce any overhead added by the shader cache
when programs are not found in the cache.
To avoid creating any special function just for the sake of the
tests we add a one second delay whenever we call dick_cache_put()
to give it time to finish.
V2: poll for file when waiting for thread in test
V3: fix poll delay to really be 100ms, and simplify the wait function
Reviewed-by: Grazvydas Ignotas <[email protected]>
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions