aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2019-08-22 16:20:39 +1000
committerGert Wollny <[email protected]>2019-08-26 06:35:00 +0000
commit035cd6cdf91f9d49f49f0e152e7204aee51e671b (patch)
tree3b173762a1ff0a03e432e6b8b4dfd62adc137ebc /src
parent4379dcc12d36bf9993a06c628c9426d4f54ba58d (diff)
virgl: drop unused format field
Diffstat (limited to 'src')
-rw-r--r--src/gallium/winsys/virgl/drm/virgl_drm_winsys.c1
-rw-r--r--src/gallium/winsys/virgl/drm/virgl_drm_winsys.h1
2 files changed, 0 insertions, 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;