From 035cd6cdf91f9d49f49f0e152e7204aee51e671b Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 22 Aug 2019 16:20:39 +1000 Subject: [PATCH] virgl: drop unused format field --- src/gallium/winsys/virgl/drm/virgl_drm_winsys.c | 1 - src/gallium/winsys/virgl/drm/virgl_drm_winsys.h | 1 - 2 files changed, 2 deletions(-) diff --git a/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c b/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c index 9eec92f5736..725d1f7cbf3 100644 --- a/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c +++ b/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c @@ -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; diff --git a/src/gallium/winsys/virgl/drm/virgl_drm_winsys.h b/src/gallium/winsys/virgl/drm/virgl_drm_winsys.h index b233e57d176..9c9d0a5a708 100644 --- a/src/gallium/winsys/virgl/drm/virgl_drm_winsys.h +++ b/src/gallium/winsys/virgl/drm/virgl_drm_winsys.h @@ -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; -- 2.30.2