diff options
author | Ilia Mirkin <[email protected]> | 2014-01-21 02:56:01 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2014-02-12 21:47:36 -0500 |
commit | 246ca4b00156a5ed54c2fca61454ba751bed8912 (patch) | |
tree | f30845d014dc20a5a03595733193344bfe6fe707 /src/gallium/drivers/nouveau/nv50/nv50_context.h | |
parent | a7012eede83f3a6b014b952ff837e5b377a7a12a (diff) |
nv50: implement multiple viewports/scissors, enable ARB_viewport_array
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Christoph Bumiller <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nv50/nv50_context.h')
-rw-r--r-- | src/gallium/drivers/nouveau/nv50/nv50_context.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/nouveau/nv50/nv50_context.h b/src/gallium/drivers/nouveau/nv50/nv50_context.h index 1ce52c97936..57a3090833a 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_context.h +++ b/src/gallium/drivers/nouveau/nv50/nv50_context.h @@ -163,8 +163,10 @@ struct nv50_context { struct pipe_blend_color blend_colour; struct pipe_stencil_ref stencil_ref; struct pipe_poly_stipple stipple; - struct pipe_scissor_state scissor; - struct pipe_viewport_state viewport; + struct pipe_scissor_state scissors[NV50_MAX_VIEWPORTS]; + unsigned scissors_dirty; + struct pipe_viewport_state viewports[NV50_MAX_VIEWPORTS]; + unsigned viewports_dirty; struct pipe_clip_state clip; unsigned sample_mask; |