virgl: drop unused format field
authorDave Airlie <airlied@redhat.com>
Thu, 22 Aug 2019 06:20:39 +0000 (16:20 +1000)
committerGert Wollny <gw.fossdev@gmail.com>
Mon, 26 Aug 2019 06:35:00 +0000 (06:35 +0000)
src/gallium/winsys/virgl/drm/virgl_drm_winsys.c
src/gallium/winsys/virgl/drm/virgl_drm_winsys.h

index 9eec92f573632b7adf6f8e564213ac74543e58df..725d1f7cbf3f62cfa9d933d48a832c8c2dab064f 100644 (file)
@@ -186,7 +186,6 @@ virgl_drm_winsys_resource_create(struct virgl_winsys *qws,
    }
 
    res->bind = bind;
-   res->format = format;
 
    res->res_handle = createcmd.res_handle;
    res->bo_handle = createcmd.bo_handle;
index b233e57d176488861a879527d24b899e1217ed6a..9c9d0a5a708af3699935482cb00ed46622c40527 100644 (file)
@@ -44,7 +44,6 @@ struct virgl_hw_res {
    uint32_t stride;
 
    struct virgl_resource_cache_entry cache_entry;
-   uint32_t format;
    uint32_t bind;
    uint32_t flink_name;