GPU: Better hash for specialization constants #120964

Merged
Jeroen Bakker merged 1 commits from Jeroen-Bakker/blender:gpu/specialization-hash-occupacy into main 2024-04-23 09:44:18 +02:00

1 Commits

Author SHA1 Message Date
Jeroen Bakker c9a496a9e0 GPU: Better hash for specialization constants
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
Due to an error in the hash function the specialization constants hash
wasn't optimal. This PR fixes the hash function implementation by replacing
the addition with an xor.
2024-04-23 08:52:05 +02:00