From: Alyssa Rosenzweig Date: Wed, 26 Aug 2020 14:50:18 +0000 (-0400) Subject: panfrost: Simplify ZSA bind X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7d328e7ba9b842b09c5e11610e2424d69acc129b;p=mesa.git panfrost: Simplify ZSA bind void* casts are implicit. Signed-off-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/gallium/drivers/panfrost/pan_context.c b/src/gallium/drivers/panfrost/pan_context.c index 53c5e11b43a..c845bfa68ca 100644 --- a/src/gallium/drivers/panfrost/pan_context.c +++ b/src/gallium/drivers/panfrost/pan_context.c @@ -1155,8 +1155,7 @@ panfrost_bind_depth_stencil_state(struct pipe_context *pipe, void *cso) { struct panfrost_context *ctx = pan_context(pipe); - struct panfrost_zsa_state *zsa = cso; - ctx->depth_stencil = zsa; + ctx->depth_stencil = cso; } static void