projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f61edd5
)
softpipe: add PIPE_CAP_MIN/MAX_TEXTURE_GATHER_OFFSET query cases
author
Brian Paul
<brianp@vmware.com>
Fri, 11 Apr 2014 01:03:58 +0000
(19:03 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 11 Apr 2014 17:47:31 +0000
(11:47 -0600)
To silence compiler warnings.
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/softpipe/sp_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/softpipe/sp_screen.c
b/src/gallium/drivers/softpipe/sp_screen.c
index ce04fb81976836c79b8fb278cd98b7fb55294131..b4ca728ec937c305ac4413c59273b07b74e329b7 100644
(file)
--- a/
src/gallium/drivers/softpipe/sp_screen.c
+++ b/
src/gallium/drivers/softpipe/sp_screen.c
@@
-192,6
+192,9
@@
softpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
return 0;
case PIPE_CAP_FAKE_SW_MSAA:
return 1;
+ case PIPE_CAP_MIN_TEXTURE_GATHER_OFFSET:
+ case PIPE_CAP_MAX_TEXTURE_GATHER_OFFSET:
+ return 0;
}
/* should only get here on unhandled cases */
debug_printf("Unexpected PIPE_CAP %d query\n", param);