diff options
author | Marek Olšák <[email protected]> | 2012-04-19 01:41:46 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-04-24 01:39:22 +0200 |
commit | eaf8fe3335b1c7e62275ac0fef202f51750ffba9 (patch) | |
tree | 8e3005bba146c027ccdcb318d9623705cee60d95 /src/gallium/auxiliary/util/u_vbuf.h | |
parent | a0e352f5ebac0f533481d353b7f3ba66b3a9ed7f (diff) |
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.h | 6 |
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 161349970a1..59eb59a1190 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; |