nir: add missed nir_cmp_imm-helpers
Seems I missed these in my previous round, let's fix them up now! Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23461>
This commit is contained in:

committed by
Marge Bot

parent
3a64e3425f
commit
a593de7cf3
@@ -39,8 +39,8 @@ build_leaf_is_procedural(nir_builder *b, struct brw_nir_rt_mem_hit_defs *hit)
|
||||
return nir_imm_true(b);
|
||||
|
||||
default:
|
||||
return nir_ieq(b, hit->leaf_type,
|
||||
nir_imm_int(b, BRW_RT_BVH_NODE_TYPE_PROCEDURAL));
|
||||
return nir_ieq_imm(b, hit->leaf_type,
|
||||
BRW_RT_BVH_NODE_TYPE_PROCEDURAL);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user