Module: Mesa
Branch: main
Commit: 1cb8d11b6c73336f24ef3c722d60e2220c46cf5b
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1cb8d11b6c73336f24ef3c722d60e2220c46cf5b

Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Sep 17 14:58:05 2021 -0400

zink: remove duplicated struct member set

this should only happen in zink_descriptors_update_lazy_masked

Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12931>

---

 src/gallium/drivers/zink/zink_descriptors_lazy.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/gallium/drivers/zink/zink_descriptors_lazy.c 
b/src/gallium/drivers/zink/zink_descriptors_lazy.c
index a727d8ae3c5..8908a6f1aa6 100644
--- a/src/gallium/drivers/zink/zink_descriptors_lazy.c
+++ b/src/gallium/drivers/zink/zink_descriptors_lazy.c
@@ -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 &&

Reply via email to