Remove now unused compare_spirv function

This commit is contained in:
Dunedan 2024-09-20 17:15:13 +02:00
parent 311f698bce
commit 9893e7674a
Signed by: Dunedan
GPG Key ID: 885B16854284E0B2

View File

@ -49,14 +49,6 @@ def calculate_hash(path):
return hashlib.sha1(handle.read()).hexdigest()
def compare_spirv(path1, path2):
with open(path1, "rb") as handle:
spirv1 = handle.read()
with open(path2, "rb") as handle:
spirv2 = handle.read()
return spirv1 == spirv2
def resolve_if(defines, expression):
for item in expression.strip().split("||"):
item = item.strip()