From b5db3aa6e8173600037b68e7ec4351bd2c1aade4 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Mon, 16 Jul 2018 12:37:31 +0200 Subject: virgl: implement set_min_samples This allows us to implement glMinSampleShading correctly, which up until now just got ignored. Signed-off-by: Erik Faye-Lund Reviewed-by: Dave Airlie --- src/gallium/drivers/virgl/virgl_encode.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gallium/drivers/virgl/virgl_encode.h') diff --git a/src/gallium/drivers/virgl/virgl_encode.h b/src/gallium/drivers/virgl/virgl_encode.h index 837075ea483..21c506eb56f 100644 --- a/src/gallium/drivers/virgl/virgl_encode.h +++ b/src/gallium/drivers/virgl/virgl_encode.h @@ -211,6 +211,9 @@ void virgl_encoder_set_polygon_stipple(struct virgl_context *ctx, void virgl_encoder_set_sample_mask(struct virgl_context *ctx, unsigned sample_mask); +void virgl_encoder_set_min_samples(struct virgl_context *ctx, + unsigned min_samples); + void virgl_encoder_set_clip_state(struct virgl_context *ctx, const struct pipe_clip_state *clip); -- cgit v1.2.3