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/mesa/state_tracker/st_context.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mesa/state_tracker') 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 || -- cgit v1.2.3