Module: Mesa Branch: master Commit: 8d27bc351f6f043d628138891dfa7855d055c007 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d27bc351f6f043d628138891dfa7855d055c007
Author: Icenowy Zheng <[email protected]> Date: Thu Apr 11 15:24:01 2019 +0800 lima: add dummy set_sample_mask function The set_sample_mask function is required in util_blitter. Add a dummy one to make util_blitter work. Signed-off-by: Icenowy Zheng <[email protected]> Reviewed-by: Qiang Yu <[email protected]> --- src/gallium/drivers/lima/lima_state.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/gallium/drivers/lima/lima_state.c b/src/gallium/drivers/lima/lima_state.c index 3691dd9b58d..b5598017acf 100644 --- a/src/gallium/drivers/lima/lima_state.c +++ b/src/gallium/drivers/lima/lima_state.c @@ -455,6 +455,12 @@ lima_set_damage_region(struct pipe_context *pctx, unsigned num_rects, int *rects return true; } +static void +lima_set_sample_mask(struct pipe_context *pctx, + unsigned sample_mask) +{ +} + void lima_state_init(struct lima_context *ctx) { @@ -491,6 +497,8 @@ 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 _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
