From e49418744a56e15cf9f841848615763f50f7435a Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Mon, 24 Nov 2025 15:52:43 -0800 Subject: [PATCH] brw: Set extended_bindless_surface_offset to true for Gfx12.5+ anv sets device->uses_ex_bso on verx10 >= 125 and then sets the compiler->extended_bindless_surface_offset to that. iris was not setting anything. However, LSC_ADDR_SURFTYPE_SS used for scratch on Gfx12.5 is bindless, and Xe2 uses ExBSO for all UGM access, so we need to be setting this. Just set it in the compiler so both drivers have it set. Fixes piglit arb_tessellation_shader-tes-gs-max-output -small -scan 1 50 on iris. Fixes: 80c89909f36 ("brw: fixup immediate bindless surface handling") Part-of: --- src/intel/compiler/brw/brw_compiler.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/intel/compiler/brw/brw_compiler.c b/src/intel/compiler/brw/brw_compiler.c index bd76081546b..562a11b35fc 100644 --- a/src/intel/compiler/brw/brw_compiler.c +++ b/src/intel/compiler/brw/brw_compiler.c @@ -107,6 +107,7 @@ brw_compiler_create(void *mem_ctx, const struct intel_device_info *devinfo) compiler->precise_trig = debug_get_bool_option("INTEL_PRECISE_TRIG", false); + compiler->extended_bindless_surface_offset = devinfo->verx10 >= 125; compiler->use_tcs_multi_patch = devinfo->ver >= 12; compiler->indirect_ubos_use_sampler = devinfo->ver < 12;