Remove now unused compare_spirv function
This commit is contained in:
parent
311f698bce
commit
9893e7674a
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user