mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-13 15:20:31 +01:00
intel/nir: disable assert on async stack id
This can be accessed from : - RT shaders - CS trampoline shader We missed the second part here. Fixes:0465714790("intel/nir/rt: add more helpers for ray queries") Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16970> (cherry picked from commit57593c5395)
This commit is contained in:
parent
63fc489471
commit
b4c91f086a
2 changed files with 1 additions and 3 deletions
|
|
@ -472,7 +472,7 @@
|
|||
"description": "intel/nir: disable assert on async stack id",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "046571479028aeb5577344a91f0c4d565415f4bc"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -90,8 +90,6 @@ brw_load_eu_thread_simd(nir_builder *b)
|
|||
static inline nir_ssa_def *
|
||||
brw_nir_rt_async_stack_id(nir_builder *b)
|
||||
{
|
||||
assert(gl_shader_stage_is_callable(b->shader->info.stage) ||
|
||||
b->shader->info.stage == MESA_SHADER_RAYGEN);
|
||||
return nir_iadd(b, nir_umul_32x16(b, nir_load_ray_num_dss_rt_stacks_intel(b),
|
||||
brw_load_btd_dss_id(b)),
|
||||
nir_load_btd_stack_id_intel(b));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue