asahi: Remove spurious assignment
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sun, 4 Jul 2021 20:24:24 +0000 (16:24 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 5 Jul 2021 20:56:04 +0000 (20:56 +0000)
Doesn't seem necessary.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11718>

src/gallium/drivers/asahi/agx_state.c

index a98b983..2948b1c 100644 (file)
@@ -299,9 +299,6 @@ agx_create_sampler_state(struct pipe_context *pctx,
       cfg.compare_func = agx_compare_funcs[state->compare_func];
    }
 
-   uint64_t *m = (uint64_t *) ((uint8_t *) bo->ptr.cpu + AGX_SAMPLER_LENGTH);
-   m[3] = 0x40; // XXX - what is this? maybe spurious?
-
    return bo;
 }