diff options
author | Ilia Mirkin <[email protected]> | 2016-06-11 15:26:45 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2016-06-18 13:38:29 -0400 |
commit | 07fcb06fe0220a51ad20b6b8a70512071999182c (patch) | |
tree | 9dd26a00ea363cbb5500cb148ee86c5e93c8c5f2 /src/gallium/drivers/i915/i915_screen.c | |
parent | 82fab73246810332bb238e96335ba81d4d2182d6 (diff) |
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 <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/i915/i915_screen.c')
-rw-r--r-- | src/gallium/drivers/i915/i915_screen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c index a7ee3813bd8..e898f7ee20a 100644 --- a/src/gallium/drivers/i915/i915_screen.c +++ b/src/gallium/drivers/i915/i915_screen.c @@ -274,6 +274,7 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap) case PIPE_CAP_CULL_DISTANCE: case PIPE_CAP_PRIMITIVE_RESTART_FOR_PATCHES: case PIPE_CAP_TGSI_VOTE: + case PIPE_CAP_MAX_WINDOW_RECTANGLES: return 0; case PIPE_CAP_MAX_DUAL_SOURCE_RENDER_TARGETS: |