summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl/virgl_resource.h
diff options
context:
space:
mode:
authorGurchetan Singh <[email protected]>2018-11-30 17:29:16 -0800
committerBas Nieuwenhuizen <[email protected]>2018-12-19 13:29:16 +0100
commit11939f6fa254c9d657f487d93db6eaa6cee4de9d (patch)
tree87d6b14538b0a26547b7599da6453eae785781e4 /src/gallium/drivers/virgl/virgl_resource.h
parent4e2c77cd512ccd98c08a361fc9889286c44ad4ea (diff)
virgl: make virgl_buffers use resource helpers
We can reuse the helpers we created. Reviewed-by: Elie Tournier <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_resource.h')
-rw-r--r--src/gallium/drivers/virgl/virgl_resource.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/virgl/virgl_resource.h b/src/gallium/drivers/virgl/virgl_resource.h
index d41b9906fb1..bc90d3ef82f 100644
--- a/src/gallium/drivers/virgl/virgl_resource.h
+++ b/src/gallium/drivers/virgl/virgl_resource.h
@@ -65,6 +65,7 @@ struct virgl_buffer {
* the unsynchronized map flag and expect the driver to figure it out.
*/
struct util_range valid_buffer_range;
+ struct virgl_resource_metadata metadata;
};
struct virgl_texture {