treewide: Stop lowering legacy atomics
There are no more producers of legacy atomics so these calls are inert. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23036>
This commit is contained in:
committed by
Marge Bot
parent
ec0c9706f0
commit
c323762f9f
@@ -617,9 +617,6 @@ type_size_vec4(const struct glsl_type *type, bool bindless)
|
||||
static void
|
||||
v3d_lower_nir(struct v3d_compile *c)
|
||||
{
|
||||
/* FIXME: drop once GLSL/SPIR-V produce the new intrinsics. */
|
||||
NIR_PASS(_, c->s, nir_lower_legacy_atomics);
|
||||
|
||||
struct nir_lower_tex_options tex_options = {
|
||||
.lower_txd = true,
|
||||
.lower_tg4_broadcom_swizzle = true,
|
||||
|
||||
@@ -1708,9 +1708,6 @@ pipeline_lower_nir(struct v3dv_pipeline *pipeline,
|
||||
assert(pipeline->shared_data &&
|
||||
pipeline->shared_data->maps[p_stage->stage]);
|
||||
|
||||
/* Temporary stopgap until legacy atomics are removed in core */
|
||||
NIR_PASS_V(p_stage->nir, nir_lower_legacy_atomics);
|
||||
|
||||
NIR_PASS_V(p_stage->nir, nir_vk_lower_ycbcr_tex,
|
||||
lookup_ycbcr_conversion, layout);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user