gallium: add PIPE_CAP_TEXTURE_BUFFER_OFFSET_ALIGNMENT

Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
Christoph Bumiller
2012-12-16 17:23:15 +01:00
parent 785a8c3beb
commit 0fcd2c5e2f
2 changed files with 5 additions and 1 deletions

View File

@@ -134,6 +134,9 @@ The integer capabilities:
expected for a pointer returned by transfer_map if the resource is
PIPE_BUFFER. In other words, the pointer returned by transfer_map is
always aligned to this value.
* ``PIPE_CAP_TEXTURE_BUFFER_OFFSET_ALIGNMENT``: Describes the required
alignment for pipe_sampler_view::u.buf.first_element, in bytes.
If a driver does not support first/last_element, it should return 0.
.. _pipe_capf: