From aa152ef43129dbf09f02ecb59f6b81a711967d92 Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Thu, 16 May 2024 15:46:57 -0700 Subject: [PATCH] anv/grl: Set INTEL_FORCE_PROBE=* when running intel_clc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In order to build grl, we need to get the device_info struct from the PCI ID, but for pre-production platforms we don't want to enable them unless INTEL_FORCE_PROBE is set. Setting it when running intel_clc allows us to get the device_info struct when the pre-production hardware is not ready to be enabled by default. Signed-off-by: Jordan Justen Reviewed-by: José Roberto de Souza Part-of: --- src/intel/vulkan/grl/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/intel/vulkan/grl/meson.build b/src/intel/vulkan/grl/meson.build index 61cb7aa8ea3..75291f7297b 100644 --- a/src/intel/vulkan/grl/meson.build +++ b/src/intel/vulkan/grl/meson.build @@ -140,7 +140,8 @@ foreach t : [['125', 'gfx125', 'dg2']] '-I' + join_paths(meson.current_source_dir(), 'include'), ], env: ['MESA_SHADER_CACHE_DISABLE=true', - 'MESA_SPIRV_LOG_LEVEL=error'], + 'MESA_SPIRV_LOG_LEVEL=error', + 'INTEL_FORCE_PROBE=*'], depends : dep_prog_intel_clc ) endforeach