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: 80c89909f3 ("brw: fixup immediate bindless surface handling")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38645>
This commit is contained in:
Kenneth Graunke 2025-11-24 15:52:43 -08:00 committed by Marge Bot
parent 24d14313f6
commit e49418744a

View file

@ -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->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->use_tcs_multi_patch = devinfo->ver >= 12;
compiler->indirect_ubos_use_sampler = devinfo->ver < 12; compiler->indirect_ubos_use_sampler = devinfo->ver < 12;