mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
freedreno/decode: Fix ufixed/fixed decode of bitset fields
We need to copy over the radix value. Also add missing xyzvalid fields, although they do not appear to be used anywhere. Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37009>
This commit is contained in:
parent
f31883c20c
commit
52738a5545
1 changed files with 5 additions and 0 deletions
|
|
@ -968,7 +968,12 @@ static void copytypeinfo (struct rnntypeinfo *dst, struct rnntypeinfo *src, char
|
|||
dst->min = src->min;
|
||||
dst->max = src->max;
|
||||
dst->align = src->align;
|
||||
dst->radix = src->radix;
|
||||
dst->addvariant = src->addvariant;
|
||||
dst->minvalid = src->minvalid;
|
||||
dst->maxvalid = src->maxvalid;
|
||||
dst->alignvalid = src->alignvalid;
|
||||
dst->radixvalid = src->radixvalid;
|
||||
for (i = 0; i < src->valsnum; i++)
|
||||
ADDARRAY(dst->vals, copyvalue(src->vals[i], file));
|
||||
for (i = 0; i < src->bitfieldsnum; i++)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue