Benefits of cryptographic hash functions for uniquely identifing Vulkan shaders.

mikolajlubiak1337 mikolajlubiak1337 at proton.me
Thu Jun 29 11:04:09 UTC 2023


Hi,
I have recently read Phoronix article[1] about you switching to BLAKE3 instead of SHA1.
If BLAKE3 is a cryptographic hash function wouldn't it be faster to use a non cryptographic hash function or even a checksum function? Do you need the benefits of cryptographic hash functions over other hash/checksum functions for the purpose of uniquely identifing Vulkan shaders?

[1]: https://www.phoronix.com/news/Mesa-BLAKE3-Shader-Hashing

-- me



More information about the mesa-dev mailing list