summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_cmd.h
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-02-22 19:20:25 +0000
committerJosé Fonseca <[email protected]>2010-02-22 21:47:19 +0000
commit8ea7d8412c5c002b43824a5df5356cbe1a05ce20 (patch)
treed0928a31078566bd0608a2417f8103cd936ad20a /src/gallium/drivers/svga/svga_cmd.h
parent066fd70639a1681bfde0a8e1fb7fdca7897158e5 (diff)
svga: Fix the guest offset of piecewise buffer DMAs.
It was being erroneously set equal to the host offset, but it should be zero.
Diffstat (limited to 'src/gallium/drivers/svga/svga_cmd.h')
-rw-r--r--src/gallium/drivers/svga/svga_cmd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_cmd.h b/src/gallium/drivers/svga/svga_cmd.h
index 80410547690..da9fc4355fa 100644
--- a/src/gallium/drivers/svga/svga_cmd.h
+++ b/src/gallium/drivers/svga/svga_cmd.h
@@ -111,7 +111,8 @@ SVGA3D_BufferDMA(struct svga_winsys_context *swc,
struct svga_winsys_surface *host,
SVGA3dTransferType transfer,
uint32 size,
- uint32 offset,
+ uint32 guest_offset,
+ uint32 host_offset,
SVGA3dSurfaceDMAFlags flags);
/*