mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
anv/gfx12.5: Request subgroup size 8 for RT trampoline shader.
The 16-wide variant of the trampoline shader doesn't appear to work and would be inadvertently enabled by this series on Gfx12.5. Set the required subgroup size to avoid changing current behavior. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32664>
This commit is contained in:
parent
8102500b95
commit
a736757275
1 changed files with 5 additions and 0 deletions
|
|
@ -3791,6 +3791,11 @@ anv_device_init_rt_shaders(struct anv_device *device)
|
|||
nir_shader *trampoline_nir =
|
||||
brw_nir_create_raygen_trampoline(device->physical->compiler, tmp_ctx);
|
||||
|
||||
if (device->info->ver >= 20)
|
||||
trampoline_nir->info.subgroup_size = SUBGROUP_SIZE_REQUIRE_16;
|
||||
else
|
||||
trampoline_nir->info.subgroup_size = SUBGROUP_SIZE_REQUIRE_8;
|
||||
|
||||
struct brw_cs_prog_data trampoline_prog_data = {
|
||||
.uses_btd_stack_ids = true,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue