mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
nir: dpas_intel second source can have different number of components
The number of components for the second source is -1 to avoid validation of its value. Some supported configurations will have the component count of that matrix different than the others. Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28834>
This commit is contained in:
parent
556e78f737
commit
6b678d32cb
1 changed files with 5 additions and 1 deletions
|
|
@ -2222,7 +2222,11 @@ system_value("ray_query_global_intel", 1, bit_sizes=[64])
|
|||
# The accumulator is source 0 because that is the source the intrinsic
|
||||
# infrastructure in NIR uses to determine the number of components in the
|
||||
# result.
|
||||
intrinsic("dpas_intel", dest_comp=0, src_comp=[0, 0, 0],
|
||||
#
|
||||
# The number of components for the second source is -1 to avoid validation of
|
||||
# its value. Some supported configurations will have the component count of
|
||||
# that matrix different than the others.
|
||||
intrinsic("dpas_intel", dest_comp=0, src_comp=[0, -1, 0],
|
||||
indices=[DEST_TYPE, SRC_TYPE, SATURATE, SYSTOLIC_DEPTH, REPEAT_COUNT],
|
||||
flags=[CAN_ELIMINATE])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue