Skip to content
Snippets Groups Projects
Commit f844ce66 authored by Marcin Ślusarz's avatar Marcin Ślusarz Committed by Marge Bot
Browse files

anv: fix push constant lowering for task/mesh


Fixes: a6031cd9 ("anv: fix push constant lowering with bindless shaders")
Reviewed-by: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <mesa/mesa!15850>
parent 20ab7046
No related branches found
No related tags found
No related merge requests found
......@@ -157,7 +157,7 @@ anv_nir_compute_push_layout(const struct anv_physical_device *pdevice,
* brw_nir_lower_rt_intrinsics.c).
*/
unsigned base_offset =
brw_shader_stage_is_bindless(nir->info.stage) ? 0 : push_start;
brw_shader_stage_requires_bindless_resources(nir->info.stage) ? 0 : push_start;
intrin->intrinsic = nir_intrinsic_load_uniform;
nir_intrinsic_set_base(intrin,
nir_intrinsic_base(intrin) -
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment