summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-04-19 01:41:46 +0200
committerMarek Olšák <[email protected]>2012-04-24 01:39:22 +0200
commiteaf8fe3335b1c7e62275ac0fef202f51750ffba9 (patch)
tree8e3005bba146c027ccdcb318d9623705cee60d95 /src/mesa
parenta0e352f5ebac0f533481d353b7f3ba66b3a9ed7f (diff)
u_vbuf: take advantage of all new vertex fetch caps
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_context.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c
index b27f2f677b6..84aae814416 100644
--- a/src/mesa/state_tracker/st_context.c
+++ b/src/mesa/state_tracker/st_context.c
@@ -119,7 +119,9 @@ static void st_init_vbuf(struct st_context *st)
u_vbuf_get_caps(st->pipe->screen, &caps);
/* Create u_vbuf if there is anything unsupported. */
- if (!caps.fetch_dword_unaligned ||
+ if (!caps.buffer_offset_unaligned ||
+ !caps.buffer_stride_unaligned ||
+ !caps.velem_src_offset_unaligned ||
!caps.format_fixed32 ||
!caps.format_float16 ||
!caps.format_float64 ||