projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
897d235
)
nv30: Silence pipe_cap warnings
author
Roy Spliet
<r.spliet@student.tudelft.nl>
Sat, 12 May 2012 01:42:31 +0000
(
03:42
+0200)
committer
Ben Skeggs
<bskeggs@redhat.com>
Sat, 12 May 2012 02:42:48 +0000
(12:42 +1000)
Signed-off-by: Roy Spliet <r.spliet@student.tudelft.nl>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
src/gallium/drivers/nv30/nv30_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nv30/nv30_screen.c
b/src/gallium/drivers/nv30/nv30_screen.c
index c3e50a583167595b965a82d4911e1de688eabd7e..f5120e74c5ff4137e7141da03fb42c878aca7be6 100644
(file)
--- 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;