mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 05:10:11 +01:00
freedreno/registers: Move 'unknown' last
If the builder is passed just a raw value, like an iova in the case of
turnip, we probably don't want to assert that it is all unknown bits.
This hasn't been a problem for the gallium driver, as the bo pointer is
first. But became a problem for turnip with commit 2d6c15ad57 ("tu:
remove magic bo reg packing (use iovas directly)").
Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39029>
This commit is contained in:
parent
6326ac4350
commit
2f3d6119fc
1 changed files with 2 additions and 2 deletions
|
|
@ -258,11 +258,11 @@ class Bitset(object):
|
||||||
# Requires using `fui()` or `_mesa_float_to_half()`
|
# Requires using `fui()` or `_mesa_float_to_half()`
|
||||||
constexpr_mark = ""
|
constexpr_mark = ""
|
||||||
if reg.bit_size == 64:
|
if reg.bit_size == 64:
|
||||||
tab_to(" uint64_t", "unknown;")
|
|
||||||
tab_to(" uint64_t", "qword;")
|
tab_to(" uint64_t", "qword;")
|
||||||
|
tab_to(" uint64_t", "unknown;")
|
||||||
else:
|
else:
|
||||||
tab_to(" uint32_t", "unknown;")
|
|
||||||
tab_to(" uint32_t", "dword;")
|
tab_to(" uint32_t", "dword;")
|
||||||
|
tab_to(" uint32_t", "unknown;")
|
||||||
print("};\n")
|
print("};\n")
|
||||||
|
|
||||||
if not has_variants:
|
if not has_variants:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue