<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 17 March 2014 14:54, Eric Anholt <span dir="ltr"><<a href="mailto:eric@anholt.net" target="_blank">eric@anholt.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
---<br>
src/mesa/drivers/dri/i965/brw_draw_upload.c | 9 ---------<br>
1 file changed, 9 deletions(-)<br></blockquote><div><br></div><div>For future cross-referencing it would be nice to mention the SHA of Marek's change in the commit message.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
diff --git a/src/mesa/drivers/dri/i965/brw_draw_upload.c b/src/mesa/drivers/dri/i965/brw_draw_upload.c<br>
index d42c074..d08e56a 100644<br>
--- a/src/mesa/drivers/dri/i965/brw_draw_upload.c<br>
+++ b/src/mesa/drivers/dri/i965/brw_draw_upload.c<br>
@@ -717,12 +717,6 @@ static void brw_emit_vertices(struct brw_context *brw)<br>
uint32_t comp2 = BRW_VE1_COMPONENT_STORE_SRC;<br>
uint32_t comp3 = BRW_VE1_COMPONENT_STORE_SRC;<br>
<br>
- /* The gen4 driver expects edgeflag to come in as a float, and passes<br>
- * that float on to the tests in the clipper. Mesa's current vertex<br>
- * attribute value for EdgeFlag is stored as a float, which works out.<br>
- * glEdgeFlagPointer, on the other hand, gives us an unnormalized<br>
- * integer ubyte. Just rewrite that to convert to a float.<br>
- */<br>
if (input->attrib == VERT_ATTRIB_EDGEFLAG) {<br>
/* Gen6+ passes edgeflag as sideband along with the vertex, instead<br>
* of in the VUE. We have to upload it sideband as the last vertex<br>
@@ -732,9 +726,6 @@ static void brw_emit_vertices(struct brw_context *brw)<br>
gen6_edgeflag_input = input;<br>
continue;<br>
}<br>
-<br>
- if (format == BRW_SURFACEFORMAT_R8_UINT)<br>
- format = BRW_SURFACEFORMAT_R8_SSCALED;<br>
}<br>
<br>
switch (input->glarray->Size) {<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.9.0<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev" target="_blank">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br></div></div>