panfrost: Simplify ZSA bind

void* casts are implicit.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>
This commit is contained in:
Alyssa Rosenzweig 2020-08-26 10:50:18 -04:00 committed by Marge Bot
parent 90cc815628
commit 7d328e7ba9

View file

@ -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