The set_sample_mask function is required in util_blitter.
Add a dummy one to make util_blitter work.
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Reviewed-by: Qiang Yu <yuq825@gmail.com>
return true;
}
+static void
+lima_set_sample_mask(struct pipe_context *pctx,
+ unsigned sample_mask)
+{
+}
+
void
lima_state_init(struct lima_context *ctx)
{
ctx->base.create_sampler_view = lima_create_sampler_view;
ctx->base.sampler_view_destroy = lima_sampler_view_destroy;
ctx->base.set_sampler_views = lima_set_sampler_views;
+
+ ctx->base.set_sample_mask = lima_set_sample_mask;
}
void