We'll want this to reduce variant lookups eventually.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20123>
{
struct agx_context *ctx = agx_context(pctx);
ctx->blend = cso;
+ ctx->dirty |= AGX_DIRTY_BLEND;
}
static const enum agx_stencil_op agx_stencil_ops[PIPE_STENCIL_OP_INVERT + 1] = {
/* Just the progs themselves */
AGX_DIRTY_VS_PROG = BITFIELD_BIT(10),
AGX_DIRTY_FS_PROG = BITFIELD_BIT(11),
+
+ AGX_DIRTY_BLEND = BITFIELD_BIT(12),
};
#define AGX_MAX_BATCHES (2)