<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
index 4dce399f84..913a79faee 100644<br>
--- a/src/gallium/include/pipe/p_<wbr>state.h<br>
+++ b/src/gallium/include/pipe/p_<wbr>state.h<br>
@@ -113,6 +113,7 @@ struct pipe_rasterizer_state<br>
    unsigned line_smooth:1;<br>
    unsigned line_stipple_enable:1;<br>
    unsigned line_last_pixel:1;<br>
+   unsigned conservative_raster_mode:2; /**< PIPE_CONSERVATIVE_RASTER_x */<br>
<br>
    /**<br>
     * Use the first vertex of a primitive as the provoking vertex for<br>
@@ -186,6 +187,7 @@ struct pipe_rasterizer_state<br>
    float offset_units;<br>
    float offset_scale;<br>
    float offset_clamp;<br>
+   float conservative_raster_dilate;<br>
 };<br>
<br>
<br>
@@ -199,6 +201,10 @@ struct pipe_viewport_state<br>
 {<br>
    float scale[3];<br>
    float translate[3];<br>
+   /*<br>
+    * Conservative rasterization subpixel precision bias in bits<br>
+    */<br>
+   uint16_t subpixel_precision[2];<br></blockquote><div><br></div><div>Actually, there is one thing that I disagree with. pipe_viewport_state is per-viewport and there are up to 16 viewports, but the extensions don't allow per-viewport settings of subpixel_precision. The obvious thing to do is to add a new pipe_context function that only sets subpixel_precision, but how about this:<br></div><div><br></div><div>Would it be possible to move all the new states into a new CSO: pipe_conservative_raster_state?</div><div><br></div><div>Marek<br></div></div></div></div>