mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 22:30:12 +01:00
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:
parent
24d14313f6
commit
e49418744a
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue