mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
isaspec: deocde: Make isa_decode_field(..) private
Without this change the isa_decode_field(..) uses the wrong bitmask_t type (freedreno: array with 2 elements, etnaviv: array with 4 elements) and weird things happens. 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
872f714e32
commit
878fa2032e
3 changed files with 4 additions and 6 deletions
|
|
@ -151,6 +151,9 @@ uint64_t_to_bitmask(uint64_t val)
|
|||
|
||||
#include "isaspec_decode_decl.h"
|
||||
|
||||
static uint64_t
|
||||
isa_decode_field(struct decode_scope *scope, const char *field_name);
|
||||
|
||||
/*
|
||||
* enum tables, these don't have any link back to other tables so just
|
||||
* dump them up front before the bitset tables
|
||||
|
|
|
|||
|
|
@ -51,11 +51,6 @@ struct isa_enum {
|
|||
*/
|
||||
typedef uint64_t (*isa_expr_t)(struct decode_scope *scope);
|
||||
|
||||
/**
|
||||
* Used by generated expr functions
|
||||
*/
|
||||
uint64_t isa_decode_field(struct decode_scope *scope, const char *field_name);
|
||||
|
||||
/**
|
||||
* Used by generated decode functions
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -544,7 +544,7 @@ resolve_field(struct decode_scope *scope, const char *field_name, size_t field_n
|
|||
}
|
||||
|
||||
/* This is also used from generated expr functions */
|
||||
uint64_t
|
||||
static uint64_t
|
||||
isa_decode_field(struct decode_scope *scope, const char *field_name)
|
||||
{
|
||||
bitmask_t val;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue