forked from mirrors/0ad
265ed76131
Previously when checking if two SPIR-V shaders are identical the hashs of their file content would be compared and afterwards their (unhashed) file contents as well. Comparing the file contents isn't necessary, as the hash function used is a cryptographic one, which guarantees the hash can be used as a representative of the hashed data.