summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-09-21 19:45:08 +0200
committerMarek Olšák <[email protected]>2013-09-29 15:18:07 +0200
commita62cd6949cee46096e016ef8249a4a6975d63c4a (patch)
tree80da8585275ff69819a150166249ae3de16bb80c /src/gallium/drivers/r600
parent900b1863c8301b0334806afa1854137c9f87dcd6 (diff)
radeon drivers: handle PIPE_CAP_MAX_VIEWPORTS
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index d86bb18034a..67767d4b449 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -651,6 +651,9 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
/* XXX some r6xx are buggy and can only do 4 */
return 8;
+ case PIPE_CAP_MAX_VIEWPORTS:
+ return 1;
+
/* Timer queries, present when the clock frequency is non zero. */
case PIPE_CAP_QUERY_TIME_ELAPSED:
return rscreen->b.info.r600_clock_crystal_freq != 0;