summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/vc4/vc4_screen.c
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2015-02-01 09:01:50 -0500
committerIlia Mirkin <imirkin@alum.mit.edu>2015-02-02 20:44:02 -0500
commit7c211a12aa6c22187264f718c81224a70e224ebe (patch)
treed041960cd644bbd3595a65e1bee0db15bdce436f /src/gallium/drivers/vc4/vc4_screen.c
parent2ce29ce5afbace43836fb55e8a5b5a989a222529 (diff)
gallium: add a cap to determine whether the driver supports offset_clamp
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Glenn Kennard <glenn.kennard@gmail.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_screen.c')
-rw-r--r--src/gallium/drivers/vc4/vc4_screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_screen.c b/src/gallium/drivers/vc4/vc4_screen.c
index 8d216338bf..9b5d7ba166 100644
--- a/src/gallium/drivers/vc4/vc4_screen.c
+++ b/src/gallium/drivers/vc4/vc4_screen.c
@@ -170,6 +170,7 @@ vc4_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_SAMPLER_VIEW_TARGET:
case PIPE_CAP_CLIP_HALFZ:
case PIPE_CAP_VERTEXID_NOBASE:
+ case PIPE_CAP_POLYGON_OFFSET_CLAMP:
return 0;
/* Stream output. */