mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
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:
parent
856f0abd2b
commit
5d83442f8e
1 changed files with 1 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue