panfrost: Simplify bind_compute_state
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8774>
This commit is contained in:
@@ -80,11 +80,7 @@ static void
|
||||
panfrost_bind_compute_state(struct pipe_context *pipe, void *cso)
|
||||
{
|
||||
struct panfrost_context *ctx = pan_context(pipe);
|
||||
|
||||
struct panfrost_shader_variants *variants =
|
||||
(struct panfrost_shader_variants *) cso;
|
||||
|
||||
ctx->shader[PIPE_SHADER_COMPUTE] = variants;
|
||||
ctx->shader[PIPE_SHADER_COMPUTE] = cso;
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user