panfrost: Remove inputs->blend.rt
authorAlyssa Rosenzweig <alyssa@collabora.com>
Mon, 6 Feb 2023 15:49:58 +0000 (10:49 -0500)
committerMarge Bot <emma+marge@anholt.net>
Thu, 23 Mar 2023 23:53:45 +0000 (23:53 +0000)
This sideband input is now unused, as the information is available locally
within the NIR as it should be.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20906>

src/panfrost/lib/pan_blend.c
src/panfrost/util/pan_ir.h

index cda49b9..9967590 100644 (file)
@@ -831,7 +831,6 @@ GENX(pan_blend_get_shader_locked)(const struct panfrost_device *dev,
    struct panfrost_compile_inputs inputs = {
       .gpu_id = dev->gpu_id,
       .is_blend = true,
-      .blend.rt = shader->key.rt,
       .blend.nr_samples = key.nr_samples,
       .fixed_sysval_ubo = -1,
    };
index 3ddec34..f5c596f 100644 (file)
@@ -175,7 +175,6 @@ struct panfrost_compile_inputs {
    unsigned gpu_id;
    bool is_blend, is_blit;
    struct {
-      unsigned rt;
       unsigned nr_samples;
       uint64_t bifrost_blend_desc;
    } blend;