[Mesa-dev] [Bug 97967] glsl/tests/cache-test regression

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jan 16 14:59:17 UTC 2017


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

--- Comment #4 from Emil Velikov <emil.l.velikov at gmail.com> ---
Fwiw I've ran into identical issue whist importing a SHA1 implementation.

The issue here is buggy SHA1 implementation. As such if you print the result of
_mesa_sha1_compute and match that across sha1 implementation you'll see it
first hand.

Thus for this bug the cache_test.c comment "For this test, we force this
signature to land in the same directory as the original blob first written to
the cache," is not true, leading to the interesting experience.

Fwiw I've imported OpenBSD's implementation [1]. It works great, saves us a bit
of code, configure script and toggles.

[1] https://patchwork.freedesktop.org/patch/133113/

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


More information about the mesa-dev mailing list