zink: remove duplicated struct member set
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 17 Sep 2021 18:58:05 +0000 (14:58 -0400)
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 27 Sep 2021 01:23:42 +0000 (21:23 -0400)
this should only happen in zink_descriptors_update_lazy_masked

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12931>

src/gallium/drivers/zink/zink_descriptors_lazy.c

index a727d8a..8908a6f 100644 (file)
@@ -528,7 +528,6 @@ zink_descriptors_update_lazy(struct zink_context *ctx, bool is_compute)
        dd_lazy(ctx)->push_state_changed[is_compute] |= bdd->push_usage[is_compute] != pg->dd->push_usage;
        bdd->push_usage[is_compute] = pg->dd->push_usage;
    }
-   bdd->pg[is_compute] = pg;
 
    uint8_t changed_sets = pg->dd->binding_usage & dd_lazy(ctx)->state_changed[is_compute];
    bool need_push = pg->dd->push_usage &&