Home | History | Annotate | Download | only in freedreno

Lines Matching refs:ctx

35 static inline bool fd_depth_enabled(struct fd_context *ctx)
37 return ctx->zsa && ctx->zsa->depth.enabled;
40 static inline bool fd_stencil_enabled(struct fd_context *ctx)
42 return ctx->zsa && ctx->zsa->stencil[0].enabled;
45 static inline bool fd_logicop_enabled(struct fd_context *ctx)
47 return ctx->blend && ctx->blend->logicop_enable;
50 static inline bool fd_blend_enabled(struct fd_context *ctx, unsigned n)
52 return ctx->blend && ctx->blend->rt[n].blend_enable;