<div dir="ltr">On 20 August 2013 11:30, Paul Berry <span dir="ltr"><<a href="mailto:stereotype441@gmail.com" target="_blank">stereotype441@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">---<br>
src/mesa/drivers/dri/i965/brw_context.h | 23 +++++++++++++++++++++++<br>
1 file changed, 23 insertions(+)<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h<br>
index 1f1cd0a..4e8e239 100644<br>
--- a/src/mesa/drivers/dri/i965/brw_context.h<br>
+++ b/src/mesa/drivers/dri/i965/brw_context.h<br>
@@ -275,6 +275,13 @@ struct brw_vertex_program {<br>
};<br>
<br>
<br>
+/** Subclass of Mesa geometry program */<br>
+struct brw_geometry_program {<br>
+ struct gl_geometry_program program;<br>
+ GLuint id; /**< serial no. to identify geom progs, never re-used */<br>
+};<br>
+<br>
+<br>
/** Subclass of Mesa fragment program */<br>
struct brw_fragment_program {<br>
struct gl_fragment_program program;<br>
@@ -520,6 +527,22 @@ struct brw_vs_prog_data {<br>
bool uses_vertexid;<br>
};<br>
<br>
+<br>
+/* Note: brw_vec4_gs_prog_data_compare() must be updated when adding fields to<br>
+ * this struct!<br>
+ */<br>
+struct brw_vec4_gs_prog_data<br>
+{<br>
+ struct brw_vec4_prog_data base;<br>
+<br>
+ /**<br>
+ * Size of an output vertex, measured in HWORDS.<br></blockquote><div><br>From our in-person code review yesterday:<br><br>Add a comment next to HWORDS: "(32 bytes)", since this is new terminology to a lot of people (even though it is used extensively in the PRM).<br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
+ */<br>
+ unsigned output_vertex_size_hwords;<br>
+<br>
+ unsigned output_topology;<br>
+};<br>
+<br>
/** Number of texture sampler units */<br>
#define BRW_MAX_TEX_UNIT 16<br>
<span class=""><font color="#888888"><br>
--<br>
1.8.3.4<br>
<br>
</font></span></blockquote></div><br></div></div>