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:
committed by
Marge Bot
parent
90cc815628
commit
7d328e7ba9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user