virgl: implement set_min_samples
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 16 Jul 2018 10:37:31 +0000 (12:37 +0200)
committerDave Airlie <airlied@redhat.com>
Tue, 17 Jul 2018 03:59:47 +0000 (13:59 +1000)
commitb5db3aa6e8173600037b68e7ec4351bd2c1aade4
treec8ce360074097b1bbb9dc5b5dda2f21979bd22f3
parentba1b41b504b9e3867cf4589a55fb69ab4441f041
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 <erik.faye-lund@collabora.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/virgl/virgl_context.c
src/gallium/drivers/virgl/virgl_encode.c
src/gallium/drivers/virgl/virgl_encode.h
src/gallium/drivers/virgl/virgl_hw.h
src/gallium/drivers/virgl/virgl_protocol.h