<div dir="ltr"><div><div>Eh... I don't think this is needed but I don't really care too much.  I guess there are only 2 gen8 plaforms so it makes some sense.<br><br></div>Would you mind adding one more patch to inline __emit_sf_state now that we don't need all the stupid?  With that, all 4 would be<br><br></div>Reviewed-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 4, 2017 at 12:07 PM, Kenneth Graunke <span dir="ltr"><<a href="mailto:kenneth@whitecape.org" target="_blank">kenneth@whitecape.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">To clarify "BDW Line Width" vs. "CHV Line Width".<br>
---<br>
 src/intel/genxml/gen8.xml                     | 2 +-<br>
 src/intel/vulkan/gen8_cmd_<wbr>buffer.c            | 2 +-<br>
 src/mesa/drivers/dri/i965/<wbr>genX_state_upload.c | 2 +-<br>
 3 files changed, 3 insertions(+), 3 deletions(-)<br>
<br>
diff --git a/src/intel/genxml/gen8.xml b/src/intel/genxml/gen8.xml<br>
index 13924665601..ab13b4d7bd3 100644<br>
--- a/src/intel/genxml/gen8.xml<br>
+++ b/src/intel/genxml/gen8.xml<br>
@@ -2033,7 +2033,7 @@<br>
     <field name="Statistics Enable" start="42" end="42" type="bool"/><br>
     <field name="Viewport Transform Enable" start="33" end="33" type="bool"/><br>
     <field name="CHV Line Width" start="44" end="61" type="u11.7"/><br>
-    <field name="Line Width" start="82" end="91" type="u3.7"/><br>
+    <field name="BDW Line Width" start="82" end="91" type="u3.7"/><br>
     <field name="Line End Cap Antialiasing Region Width" start="80" end="81" type="uint"><br>
       <value name="0.5 pixels" value="0"/><br>
       <value name="1.0 pixels" value="1"/><br>
diff --git a/src/intel/vulkan/gen8_cmd_<wbr>buffer.c b/src/intel/vulkan/gen8_cmd_<wbr>buffer.c<br>
index 1522b36039f..875bef72be8 100644<br>
--- a/src/intel/vulkan/gen8_cmd_<wbr>buffer.c<br>
+++ b/src/intel/vulkan/gen8_cmd_<wbr>buffer.c<br>
@@ -115,7 +115,7 @@ __emit_sf_state(struct anv_cmd_buffer *cmd_buffer)<br>
          if (cmd_buffer->device->info.is_<wbr>cherryview)<br>
             sf.CHVLineWidth = cmd_buffer->state.dynamic.<wbr>line_width;<br>
          else<br>
-            sf.LineWidth = cmd_buffer->state.dynamic.<wbr>line_width;<br>
+            sf.BDWLineWidth = cmd_buffer->state.dynamic.<wbr>line_width;<br>
 #else<br>
          sf.LineWidth = cmd_buffer->state.dynamic.<wbr>line_width,<br>
 #endif<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>genX_state_upload.c b/src/mesa/drivers/dri/i965/<wbr>genX_state_upload.c<br>
index b6aa7c84d1d..caf4b555298 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>genX_state_upload.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>genX_state_upload.c<br>
@@ -1383,7 +1383,7 @@ genX(upload_sf)(struct brw_context *brw)<br>
       if (brw->is_cherryview)<br>
          sf.CHVLineWidth = brw_get_line_width_float(brw);<br>
       else<br>
-         sf.LineWidth = brw_get_line_width_float(brw);<br>
+         sf.BDWLineWidth = brw_get_line_width_float(brw);<br>
 #else<br>
       sf.LineWidth = brw_get_line_width_float(brw);<br>
 #endif<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.12.2<br>
<br>
______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br></div>