summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/nvc0/nvc0_stateobj.h
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2016-06-12 00:46:18 -0400
committerIlia Mirkin <[email protected]>2016-06-18 13:38:30 -0400
commitb21a00d1295d721275946e045e92920acdcb1a85 (patch)
tree737ab6c6b8be2cdc991426406936a58b3ca7dca5 /src/gallium/drivers/nouveau/nvc0/nvc0_stateobj.h
parentd1bdc1238a39469e6760758876e8832019795a54 (diff)
nvc0: add support for GL_EXT_window_rectangles
Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nvc0/nvc0_stateobj.h')
-rw-r--r--src/gallium/drivers/nouveau/nvc0/nvc0_stateobj.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_stateobj.h b/src/gallium/drivers/nouveau/nvc0/nvc0_stateobj.h
index f9680f5a90f..c900fcadcb7 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_stateobj.h
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_stateobj.h
@@ -61,6 +61,12 @@ struct nvc0_vertex_stateobj {
struct nvc0_vertex_element element[0];
};
+struct nvc0_window_rect_stateobj {
+ bool inclusive;
+ unsigned rects;
+ struct pipe_scissor_state rect[PIPE_MAX_WINDOW_RECTANGLES];
+};
+
struct nvc0_so_target {
struct pipe_stream_output_target pipe;
struct pipe_query *pq;