summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_screen.c
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-05-12 17:25:17 +0100
committerJosé Fonseca <jfonseca@vmware.com>2010-05-12 17:25:17 +0100
commitcf9baf68cbf4e235035f918b8de1cd46f7ce9849 (patch)
treee1b16f302948a7119c807c9e78a9b3e32f2693f4 /src/gallium/drivers/llvmpipe/lp_screen.c
parent4c4f98c6fcabc4a2c9ede3647de390a4585cf58a (diff)
llvmpipe: Handle PIPE_CAP_GUARD_*.
Without asserting.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_screen.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_screen.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c
index fadf24b30f..9d254853cb 100644
--- 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;