intel/compiler: Disable DPAS instructions on MTL

Reviewed-by: Mark Janes <markjanes@swizzler.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 3756f60558 ("intel/fs: DPAS lowering")
Closes: #10376
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26993>
(cherry picked from commit 951e08fc18a32f8a5ee9faa39cab69f8f0767e24)
This commit is contained in:
Ian Romanick 2024-01-10 13:13:06 -08:00 committed by Eric Engestrom
parent ba54cfa014
commit 219cd6dc40
2 changed files with 2 additions and 1 deletions

View file

@ -1274,7 +1274,7 @@
"description": "intel/compiler: Disable DPAS instructions on MTL",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "3756f605586fb2dcf53d892606152ecc5ce1ad1d",
"notes": null

View file

@ -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+. */