summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/swr_screen.cpp
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2016-06-11 15:26:45 -0400
committerIlia Mirkin <imirkin@alum.mit.edu>2016-06-18 13:38:29 -0400
commit07fcb06fe0220a51ad20b6b8a70512071999182c (patch)
tree9dd26a00ea363cbb5500cb148ee86c5e93c8c5f2 /src/gallium/drivers/swr/swr_screen.cpp
parent82fab73246810332bb238e96335ba81d4d2182d6 (diff)
downloadexternal_mesa3d-07fcb06fe0220a51ad20b6b8a70512071999182c.zip
external_mesa3d-07fcb06fe0220a51ad20b6b8a70512071999182c.tar.gz
external_mesa3d-07fcb06fe0220a51ad20b6b8a70512071999182c.tar.bz2
gallium: add PIPE_CAP_MAX_WINDOW_RECTANGLES to all drivers
This says how many window rectangles are supported by the implementation, although it may not exceed PIPE_MAX_WINDOW_RECTANGLES. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/gallium/drivers/swr/swr_screen.cpp')
-rw-r--r--src/gallium/drivers/swr/swr_screen.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/swr/swr_screen.cpp b/src/gallium/drivers/swr/swr_screen.cpp
index af82c93..792b09c 100644
--- a/src/gallium/drivers/swr/swr_screen.cpp
+++ b/src/gallium/drivers/swr/swr_screen.cpp
@@ -362,6 +362,7 @@ swr_get_param(struct pipe_screen *screen, enum pipe_cap param)
case PIPE_CAP_FRAMEBUFFER_NO_ATTACHMENT:
case PIPE_CAP_PRIMITIVE_RESTART_FOR_PATCHES:
case PIPE_CAP_TGSI_VOTE:
+ case PIPE_CAP_MAX_WINDOW_RECTANGLES:
return 0;
}