From eaf8fe3335b1c7e62275ac0fef202f51750ffba9 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Thu, 19 Apr 2012 01:41:46 +0200 Subject: u_vbuf: take advantage of all new vertex fetch caps --- src/gallium/auxiliary/util/u_vbuf.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/gallium/auxiliary/util/u_vbuf.h') 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; -- cgit v1.2.3