diff options
author | Ilia Mirkin <[email protected]> | 2015-02-01 09:01:50 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2015-02-02 20:44:02 -0500 |
commit | 7c211a12aa6c22187264f718c81224a70e224ebe (patch) | |
tree | d041960cd644bbd3595a65e1bee0db15bdce436f /src/gallium/drivers/ilo/ilo_screen.c | |
parent | 2ce29ce5afbace43836fb55e8a5b5a989a222529 (diff) |
gallium: add a cap to determine whether the driver supports offset_clamp
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Glenn Kennard <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_screen.c')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_screen.c b/src/gallium/drivers/ilo/ilo_screen.c index 0c948f4dcd3..5048ba1ac22 100644 --- a/src/gallium/drivers/ilo/ilo_screen.c +++ b/src/gallium/drivers/ilo/ilo_screen.c @@ -497,6 +497,8 @@ ilo_get_param(struct pipe_screen *screen, enum pipe_cap param) return true; case PIPE_CAP_VERTEXID_NOBASE: return false; + case PIPE_CAP_POLYGON_OFFSET_CLAMP: + return true; default: return 0; |