pan/bi: Make disassembler build reproducibly

Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15250>
(cherry picked from commit 42caddcf6b)
This commit is contained in:
Icecream95 2022-01-27 17:46:54 +13:00 committed by Eric Engestrom
parent 215ee9b85d
commit 26d8573cd2
2 changed files with 2 additions and 2 deletions

View File

@ -1795,7 +1795,7 @@
"description": "pan/bi: Make disassembler build reproducibly",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null
},

View File

@ -238,7 +238,7 @@ def build_lut(mnemonic, desc, test):
key_set = find_context_keys(desc, test)
ordered = 'ordering' in key_set
key_set.discard('ordering')
keys = list(key_set)
keys = sorted(list(key_set))
# Evaluate the deriveds for every possible state, forming a (state -> deriveds) map
testf = compile_derived(test, keys)