Benefits of cryptographic hash functions for uniquely identifing Vulkan shaders.

mikolajlubiak1337 <[email protected]>
Newsgroups gmane.comp.video.mesa3d.devel
Message-ID <Rrj6zoL2zTQ3QGYNRte5XyBRqaqVadk8FWYsR1ewly69vUiLkitdMdyRROEXWYpvOVauanu-ko2vp2NGmkDc3R4q9VjVM6L68x73ZWe2ttU=@proton.me>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.