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/mesa/state_tracker/st_context.c | |
parent | a0e352f5ebac0f533481d353b7f3ba66b3a9ed7f (diff) |
u_vbuf: take advantage of all new vertex fetch caps
Diffstat (limited to 'src/mesa/state_tracker/st_context.c')
-rw-r--r-- | src/mesa/state_tracker/st_context.c | 4 |
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 || |