diff options
author | Tobias Klausmann <[email protected]> | 2016-05-08 22:44:07 +0200 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2016-05-14 08:28:17 +1000 |
commit | 2be258ea1826b2bee2173efafa98af9874cfddfa (patch) | |
tree | d8f469cd9aa9d51b19a016fe5d859d1b785fc7db /src/gallium/drivers/radeonsi/si_pipe.c | |
parent | d656736bbf926c219b6bcbc0ad59132fc82a7382 (diff) |
gallium: Add a pipe cap for arb_cull_distance
This lets us safely enable or disable the extension as needed
Signed-off-by: Tobias Klausmann <[email protected]>
Reviewed-by: Edward O'Callaghan <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index f2692dc9058..1f6cbf7d857 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -391,6 +391,7 @@ static int si_get_param(struct pipe_screen* pscreen, enum pipe_cap param) case PIPE_CAP_GENERATE_MIPMAP: case PIPE_CAP_STRING_MARKER: case PIPE_CAP_QUERY_BUFFER_OBJECT: + case PIPE_CAP_CULL_DISTANCE: return 0; case PIPE_CAP_MAX_SHADER_PATCH_VARYINGS: |