mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 08:00:12 +01:00
isaspec: deocde: Make isa_bitset arrays static
Without this commit etnaviv_isa_disasm(..) will call into find_field(..) and use the bitsets are the one from freedreno. Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com> Reviewed-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28176>
This commit is contained in:
parent
1196b82815
commit
872f714e32
1 changed files with 2 additions and 2 deletions
|
|
@ -209,7 +209,7 @@ static const struct isa_bitset bitset_${bitset.get_c_name()}_gen_${bitset.gen_mi
|
|||
%endfor
|
||||
|
||||
%for root_name, root in isa.roots.items():
|
||||
const struct isa_bitset *${root.get_c_name()}[];
|
||||
static const struct isa_bitset *${root.get_c_name()}[];
|
||||
%endfor
|
||||
|
||||
/*
|
||||
|
|
@ -301,7 +301,7 @@ static const struct isa_bitset bitset_${bitset.get_c_name()}_gen_${bitset.gen_mi
|
|||
*/
|
||||
|
||||
%for root_name, root in isa.roots.items():
|
||||
const struct isa_bitset *${root.get_c_name()}[] = {
|
||||
static const struct isa_bitset *${root.get_c_name()}[] = {
|
||||
% for leaf_name, leafs in isa.leafs.items():
|
||||
% for leaf in leafs:
|
||||
% if leaf.get_root() == root:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue