diff options
author | José Fonseca <[email protected]> | 2011-03-16 11:17:48 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2011-03-16 11:21:12 +0000 |
commit | e08a3d674ad577fca24b69dd02b3f97b2e6b68d2 (patch) | |
tree | 560b5290214b933775f8083114ae7b81078b508a /src/gallium/drivers/svga/svga_resource_buffer.h | |
parent | 6b3713f8b864cbe238b0e7efb28bca54b91ef0f8 (diff) |
svga: Use transfer information on buffer transfers.
Should prevent the assert failure
svga_buffer_flush_mapped_range: Assertion `sbuf->map.writing' failed.
on nested transfers.
Diffstat (limited to 'src/gallium/drivers/svga/svga_resource_buffer.h')
-rw-r--r-- | src/gallium/drivers/svga/svga_resource_buffer.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/gallium/drivers/svga/svga_resource_buffer.h b/src/gallium/drivers/svga/svga_resource_buffer.h index c559f70ec12..a689fcb3bb7 100644 --- a/src/gallium/drivers/svga/svga_resource_buffer.h +++ b/src/gallium/drivers/svga/svga_resource_buffer.h @@ -100,24 +100,10 @@ struct svga_buffer struct { /** * Number of concurrent mappings. - * - * XXX: It is impossible to guarantee concurrent maps work in all - * circumstances -- pipe_buffers really need transfer objects too. */ unsigned count; /** - * Whether this buffer is currently mapped for writing. - */ - boolean writing; - - /** - * Whether the application will tell us explicity which ranges it touched - * or not. - */ - boolean flush_explicit; - - /** * Dirty ranges. * * Ranges that were touched by the application and need to be uploaded to |