projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c4f98c
)
llvmpipe: Handle PIPE_CAP_GUARD_*.
author
José Fonseca
<jfonseca@vmware.com>
Wed, 12 May 2010 16:25:17 +0000
(17:25 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Wed, 12 May 2010 16:25:17 +0000
(17:25 +0100)
Without asserting.
src/gallium/drivers/llvmpipe/lp_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_screen.c
b/src/gallium/drivers/llvmpipe/lp_screen.c
index fadf24b30f0b05ab73323c2b488f5c09396f26cf..9d254853cb862188acd7293b3b82f2bcc289363a 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/
src/gallium/drivers/llvmpipe/lp_screen.c
@@
-186,6
+186,11
@@
llvmpipe_get_paramf(struct pipe_screen *screen, enum pipe_cap param)
return 16.0; /* not actually signficant at this time */
case PIPE_CAP_MAX_TEXTURE_LOD_BIAS:
return 16.0; /* arbitrary */
+ case PIPE_CAP_GUARD_BAND_LEFT:
+ case PIPE_CAP_GUARD_BAND_TOP:
+ case PIPE_CAP_GUARD_BAND_RIGHT:
+ case PIPE_CAP_GUARD_BAND_BOTTOM:
+ return 0.0;
default:
assert(0);
return 0;