diff options
author | Icenowy Zheng <[email protected]> | 2019-04-11 15:24:01 +0800 |
---|---|---|
committer | Qiang Yu <[email protected]> | 2019-04-11 13:45:51 +0000 |
commit | 8d27bc351f6f043d628138891dfa7855d055c007 (patch) | |
tree | 9f600f69f83a7310a0e51defc05e060a0820be70 /src/gallium/drivers | |
parent | 8c780e54a35e5ed71a899ee4701bab6363d13f00 (diff) |
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]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/lima/lima_state.c | 8 |
1 files changed, 8 insertions, 0 deletions
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 |