mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
u_blitter: use ctx->bind_fs_state(), not pipe->bind_fs_state()
Consistently use the function pointer we saved earlier. Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
0bcd9f5469
commit
f82a84c097
1 changed files with 3 additions and 3 deletions
|
|
@ -361,7 +361,7 @@ static void bind_fs_empty(struct blitter_context_priv *ctx)
|
|||
ctx->fs_empty = util_make_empty_fragment_shader(pipe);
|
||||
}
|
||||
|
||||
pipe->bind_fs_state(pipe, ctx->fs_empty);
|
||||
ctx->bind_fs_state(pipe, ctx->fs_empty);
|
||||
}
|
||||
|
||||
static void bind_fs_write_one_cbuf(struct blitter_context_priv *ctx)
|
||||
|
|
@ -375,7 +375,7 @@ static void bind_fs_write_one_cbuf(struct blitter_context_priv *ctx)
|
|||
TGSI_INTERPOLATE_CONSTANT, FALSE);
|
||||
}
|
||||
|
||||
pipe->bind_fs_state(pipe, ctx->fs_write_one_cbuf);
|
||||
ctx->bind_fs_state(pipe, ctx->fs_write_one_cbuf);
|
||||
}
|
||||
|
||||
static void bind_fs_write_all_cbufs(struct blitter_context_priv *ctx)
|
||||
|
|
@ -389,7 +389,7 @@ static void bind_fs_write_all_cbufs(struct blitter_context_priv *ctx)
|
|||
TGSI_INTERPOLATE_CONSTANT, TRUE);
|
||||
}
|
||||
|
||||
pipe->bind_fs_state(pipe, ctx->fs_write_all_cbufs);
|
||||
ctx->bind_fs_state(pipe, ctx->fs_write_all_cbufs);
|
||||
}
|
||||
|
||||
void util_blitter_destroy(struct blitter_context *blitter)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue