summaryrefslogtreecommitdiff
path: root/src/panfrost/util
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>2023-09-15 10:57:20 -0400
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>2023-09-18 10:25:17 -0400
commitd1eb17e92e46e5b1618d0b2a0b551aad71a62568 (patch)
tree82b7a4d1ed1ba504e38305950ed5807b3f54479a /src/panfrost/util
parent0df0980fc4e044c48c917c8d7d1666d892a08bad (diff)
treewide: Drop nir_ssa_for_src users
Via Coccinelle patch: @@ expression b, s, n; @@ -nir_ssa_for_src(b, *s, n) +s->ssa @@ expression b, s, n; @@ -nir_ssa_for_src(b, s, n) +s.ssa Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25247>
Diffstat (limited to 'src/panfrost/util')
-rw-r--r--src/panfrost/util/pan_lower_framebuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panfrost/util/pan_lower_framebuffer.c b/src/panfrost/util/pan_lower_framebuffer.c
index 9bd24901fc8..96e24683b25 100644
--- a/src/panfrost/util/pan_lower_framebuffer.c
+++ b/src/panfrost/util/pan_lower_framebuffer.c
@@ -498,7 +498,7 @@ pan_lower_fb_store(nir_builder *b, nir_intrinsic_instr *intr,
bool reorder_comps, unsigned nr_samples)
{
/* For stores, add conversion before */
- nir_def *unpacked = nir_ssa_for_src(b, intr->src[0], intr->num_components);
+ nir_def *unpacked = intr->src[0].ssa;
unpacked = nir_pad_vec4(b, unpacked);
/* Re-order the components */