From 951e08fc18a32f8a5ee9faa39cab69f8f0767e24 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Wed, 10 Jan 2024 13:13:06 -0800 Subject: [PATCH] intel/compiler: Disable DPAS instructions on MTL Reviewed-by: Mark Janes Reviewed-by: Lionel Landwerlin Fixes: 3756f605586 ("intel/fs: DPAS lowering") Closes: #10376 Part-of: --- src/intel/compiler/brw_compiler.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/intel/compiler/brw_compiler.c b/src/intel/compiler/brw_compiler.c index f3441316849..9c9b221d17e 100644 --- a/src/intel/compiler/brw_compiler.c +++ b/src/intel/compiler/brw_compiler.c @@ -122,6 +122,7 @@ brw_compiler_create(void *mem_ctx, const struct intel_device_info *devinfo) compiler->indirect_ubos_use_sampler = true; compiler->lower_dpas = devinfo->verx10 < 125 || + intel_device_info_is_mtl(devinfo) || debug_get_bool_option("INTEL_LOWER_DPAS", false); /* There is no vec4 mode on Gfx10+, and we don't use it at all on Gfx8+. */