nvc0: fix the driver cb size when draw parameters are used
[mesa.git] / src / gallium / drivers / nouveau / nvc0 / nvc0_stateobj.h
index f9680f5a90f447ff6f8908a997419ea9ad6af341..c900fcadcb7d9626727a3962854ed9e043252ff3 100644 (file)
@@ -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;