From 7d328e7ba9b842b09c5e11610e2424d69acc129b Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Wed, 26 Aug 2020 10:50:18 -0400 Subject: [PATCH] panfrost: Simplify ZSA bind void* casts are implicit. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/gallium/drivers/panfrost/pan_context.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.30.2