From 542836afe586914347554c905fa96de6d149aafa Mon Sep 17 00:00:00 2001 From: Caio Oliveira Date: Fri, 30 May 2025 08:30:22 -0700 Subject: [PATCH] intel: Don't require dpas_intel src2 to match destination With upcoming configurations, the number of elements in the src2 slice might not match the destination. Reviewed-by: Ian Romanick Part-of: --- src/compiler/nir/nir_intrinsics.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/compiler/nir/nir_intrinsics.py b/src/compiler/nir/nir_intrinsics.py index 9a4f75c2962..869e74a43d8 100644 --- a/src/compiler/nir/nir_intrinsics.py +++ b/src/compiler/nir/nir_intrinsics.py @@ -2439,10 +2439,10 @@ system_value("ray_query_global_intel", 1, bit_sizes=[64]) # infrastructure in NIR uses to determine the number of components in the # result. # -# 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], +# The number of components for the second and third sources 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, -1], indices=[DEST_BASE_TYPE, SRC_BASE_TYPE, SATURATE, SYSTOLIC_DEPTH, REPEAT_COUNT], flags=[CAN_ELIMINATE])