mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
isaspec: Sort field names to generate deterministic output.
Signed-off-by: Vinson Lee <vlee@freedesktop.org> Acked-by: Rob Clark <robclark@freedesktop.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14259>
This commit is contained in:
parent
e0ec818cfd
commit
6e6e16b317
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ static const struct isa_enum ${enum.get_c_name()} = {
|
|||
static uint64_t
|
||||
${expr.get_c_name()}(struct decode_scope *scope)
|
||||
{
|
||||
% for fieldname in expr.fieldnames:
|
||||
% for fieldname in sorted(expr.fieldnames):
|
||||
int64_t ${fieldname} = isa_decode_field(scope, "${fieldname}");
|
||||
% endfor
|
||||
return ${expr.expr};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue