mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 23:00:11 +01:00
panfrost: Simplify bind_blend_state
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6440>
This commit is contained in:
parent
96a9153036
commit
0268e8481e
1 changed files with 1 additions and 6 deletions
|
|
@ -146,12 +146,7 @@ panfrost_bind_blend_state(struct pipe_context *pipe,
|
|||
void *cso)
|
||||
{
|
||||
struct panfrost_context *ctx = pan_context(pipe);
|
||||
struct pipe_blend_state *blend = (struct pipe_blend_state *) cso;
|
||||
struct panfrost_blend_state *pblend = (struct panfrost_blend_state *) cso;
|
||||
ctx->blend = pblend;
|
||||
|
||||
if (!blend)
|
||||
return;
|
||||
ctx->blend = (struct panfrost_blend_state *) cso;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue