From b19a0d506d33bff513d07a41b0ba51930464ab8f Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sat, 21 May 2016 06:19:29 +1000 Subject: virgl: handle cull distance cap. Signed-off-by: Dave Airlie --- src/gallium/drivers/virgl/virgl_screen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/gallium/drivers/virgl/virgl_screen.c b/src/gallium/drivers/virgl/virgl_screen.c index 14c91105a04..cae937a9bf2 100644 --- a/src/gallium/drivers/virgl/virgl_screen.c +++ b/src/gallium/drivers/virgl/virgl_screen.c @@ -241,6 +241,7 @@ virgl_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_PCI_FUNCTION: case PIPE_CAP_FRAMEBUFFER_NO_ATTACHMENT: case PIPE_CAP_ROBUST_BUFFER_ACCESS_BEHAVIOR: + case PIPE_CAP_CULL_DISTANCE: return 0; case PIPE_CAP_VENDOR_ID: return 0x1af4; -- cgit v1.2.3