Skip to content
Snippets Groups Projects
Commit 4a7765e9 authored by Marcin Ślusarz's avatar Marcin Ślusarz Committed by Dylan Baker
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>
(cherry picked from commit f844ce66)
parent 0c3ed4b2
No related branches found
No related tags found
No related merge requests found
......@@ -2748,7 +2748,7 @@
"description": "anv: fix push constant lowering for task/mesh",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"because_sha": "a6031cd9bd409c793c3a2928eaf9f04f09d2f55a"
},
{
......
......@@ -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