virgl: handle cull distance cap.
authorDave Airlie <airlied@redhat.com>
Fri, 20 May 2016 20:19:29 +0000 (06:19 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 20 May 2016 20:19:54 +0000 (06:19 +1000)
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/virgl/virgl_screen.c

index 14c91105a040ace1ed3ff91714c22eb7cc871e55..cae937a9bf25d7374a3adf16d65ce03801ad5623 100644 (file)
@@ -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;