mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
intel/eu/gfx12.5+: Don't fail validation with ARF register restriction error for indirect addressing.
The "file" field doesn't exist for indirect operands, so it contains garbage. Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26994>
This commit is contained in:
parent
32b3ea3c3d
commit
ae29ffb637
1 changed files with 1 additions and 1 deletions
|
|
@ -1977,7 +1977,7 @@ special_requirements_for_handling_double_precision_data_types(
|
|||
"source and destination are not supported except for "
|
||||
"broadcast of a scalar.");
|
||||
|
||||
ERROR_IF((file == BRW_ARCHITECTURE_REGISTER_FILE &&
|
||||
ERROR_IF((address_mode == BRW_ADDRESS_DIRECT && file == BRW_ARCHITECTURE_REGISTER_FILE &&
|
||||
reg != BRW_ARF_NULL && !(reg >= BRW_ARF_ACCUMULATOR && reg < BRW_ARF_FLAG)) ||
|
||||
(dst_file == BRW_ARCHITECTURE_REGISTER_FILE &&
|
||||
dst_reg != BRW_ARF_NULL && dst_reg != BRW_ARF_ACCUMULATOR),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue