virgl: add missing CAP turned off.
authorDave Airlie <airlied@redhat.com>
Fri, 26 Feb 2016 04:02:56 +0000 (04:02 +0000)
committerDave Airlie <airlied@redhat.com>
Fri, 26 Feb 2016 04:03:09 +0000 (04:03 +0000)
src/gallium/drivers/virgl/virgl_screen.c

index 18263e91e6aed283bfaf2dbab2114d97090044b9..d3f4e259cad48e179ec366bf51c4b8ea700799bc 100644 (file)
@@ -232,6 +232,9 @@ virgl_get_param(struct pipe_screen *screen, enum pipe_cap param)
    case PIPE_CAP_GENERATE_MIPMAP:
    case PIPE_CAP_SURFACE_REINTERPRET_BLOCKS:
    case PIPE_CAP_QUERY_BUFFER_OBJECT:
+   case PIPE_CAP_COPY_BETWEEN_COMPRESSED_AND_PLAIN_FORMATS:
+   case PIPE_CAP_STRING_MARKER:
+   case PIPE_CAP_QUERY_MEMORY_INFO:
       return 0;
    case PIPE_CAP_VENDOR_ID:
       return 0x1af4;