diff options
author | Roy Spliet <r.spliet@student.tudelft.nl> | 2012-05-12 03:42:31 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2012-05-12 12:42:48 +1000 |
commit | e253ead78e65a64b606e8f46cdceec2689aaf9f4 (patch) | |
tree | e83c760c02c4e32e83f9281f2ec9fd03dc240094 /src/gallium/drivers/nv30 | |
parent | 897d2351322e4c516eee622b3f49eedca7a2e308 (diff) | |
download | external_mesa3d-e253ead78e65a64b606e8f46cdceec2689aaf9f4.zip external_mesa3d-e253ead78e65a64b606e8f46cdceec2689aaf9f4.tar.gz external_mesa3d-e253ead78e65a64b606e8f46cdceec2689aaf9f4.tar.bz2 |
nv30: Silence pipe_cap warnings
Signed-off-by: Roy Spliet <r.spliet@student.tudelft.nl>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'src/gallium/drivers/nv30')
-rw-r--r-- | src/gallium/drivers/nv30/nv30_screen.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv30/nv30_screen.c b/src/gallium/drivers/nv30/nv30_screen.c index c3e50a5..f5120e7 100644 --- a/src/gallium/drivers/nv30/nv30_screen.c +++ b/src/gallium/drivers/nv30/nv30_screen.c @@ -116,6 +116,10 @@ nv30_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION: case PIPE_CAP_MIXED_COLORBUFFER_FORMATS: return 0; + case PIPE_CAP_VERTEX_BUFFER_OFFSET_4BYTE_ALIGNED_ONLY: + case PIPE_CAP_VERTEX_BUFFER_STRIDE_4BYTE_ALIGNED_ONLY: + case PIPE_CAP_VERTEX_ELEMENT_SRC_OFFSET_4BYTE_ALIGNED_ONLY: + return 1; default: debug_printf("unknown param %d\n", param); return 0; |