summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_vbuf.h
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2012-04-19 01:41:46 +0200
committerMarek Olšák <maraeo@gmail.com>2012-04-24 01:39:22 +0200
commiteaf8fe3335b1c7e62275ac0fef202f51750ffba9 (patch)
tree8e3005bba146c027ccdcb318d9623705cee60d95 /src/gallium/auxiliary/util/u_vbuf.h
parenta0e352f5ebac0f533481d353b7f3ba66b3a9ed7f (diff)
downloadexternal_mesa3d-eaf8fe3335b1c7e62275ac0fef202f51750ffba9.zip
external_mesa3d-eaf8fe3335b1c7e62275ac0fef202f51750ffba9.tar.gz
external_mesa3d-eaf8fe3335b1c7e62275ac0fef202f51750ffba9.tar.bz2
u_vbuf: take advantage of all new vertex fetch caps
Diffstat (limited to 'src/gallium/auxiliary/util/u_vbuf.h')
-rw-r--r--src/gallium/auxiliary/util/u_vbuf.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/util/u_vbuf.h b/src/gallium/auxiliary/util/u_vbuf.h
index 1613499..59eb59a 100644
--- a/src/gallium/auxiliary/util/u_vbuf.h
+++ b/src/gallium/auxiliary/util/u_vbuf.h
@@ -49,9 +49,11 @@ struct u_vbuf_caps {
unsigned format_norm32:1; /* PIPE_FORMAT_*32*NORM */
unsigned format_scaled32:1; /* PIPE_FORMAT_*32*SCALED */
- /* Whether vertex fetches don't have to be dword-aligned. */
+ /* Whether vertex fetches don't have to be 4-byte-aligned. */
/* TRUE if hardware supports it. */
- unsigned fetch_dword_unaligned:1;
+ unsigned buffer_offset_unaligned:1;
+ unsigned buffer_stride_unaligned:1;
+ unsigned velem_src_offset_unaligned:1;
/* Whether the driver supports user vertex buffers. */
unsigned user_vertex_buffers:1;