summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/svga/svga_resource_buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/svga/svga_resource_buffer.h')
-rw-r--r--src/gallium/drivers/svga/svga_resource_buffer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_resource_buffer.h b/src/gallium/drivers/svga/svga_resource_buffer.h
index c559f70ec1..31a6fc6fef 100644
--- a/src/gallium/drivers/svga/svga_resource_buffer.h
+++ b/src/gallium/drivers/svga/svga_resource_buffer.h
@@ -144,6 +144,12 @@ struct svga_buffer
} uploaded;
/**
+ * The offset in the source user buffer that matches the
+ * uploaded offset
+ */
+ unsigned source_offset;
+
+ /**
* DMA'ble memory.
*
* A piece of GMR memory, with the same size of the buffer. It is created