<div dir="ltr">On 19 December 2012 15:46, Ian Romanick <span dir="ltr"><<a href="mailto:idr@freedesktop.org" target="_blank">idr@freedesktop.org</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Ian Romanick <<a href="mailto:ian.d.romanick@intel.com">ian.d.romanick@intel.com</a>><br>
<br>
Signed-off-by: Ian Romanick <<a href="mailto:ian.d.romanick@intel.com">ian.d.romanick@intel.com</a>><br>
Cc: Paul Berry <<a href="mailto:stereotype441@gmail.com">stereotype441@gmail.com</a>><br>
Cc: Brian Paul <<a href="mailto:brianp@vmware.com">brianp@vmware.com</a>><br>
---<br>
 docs/devinfo.html | 42 ++++++++++++++++++++++++++++++++++++++++++<br>
 1 file changed, 42 insertions(+)<br>
<br>
diff --git a/docs/devinfo.html b/docs/devinfo.html<br>
index 8f4aeef..eb4c897 100644<br>
--- a/docs/devinfo.html<br>
+++ b/docs/devinfo.html<br>
@@ -155,6 +155,48 @@ of <tt>bool</tt>, <tt>true</tt>, and<br>
 src/mesa/state_tracker/st_glsl_to_tgsi.cpp can serve as examples.<br>
 </p><br>
<br>
+<p><br>
+It is often useful to quote sections from relevant specifications near<br>
+code that implements part of the spec.  In order to make it easier to<br>
+find such quotations in the code (via grep and friends) and to find the<br>
+quoted text in the specifications, please use one of the following<br>
+formats.<br>
+</p><br>
+<br>
+<p><br>
+Text quoted from the core OpenGL or OpenGL ES specifications:<br>
+</p><br>
+<br>
+<pre><br>
+   /* Page AA (page BB of the PDF) in section C.D.E of the OpenGL F.G<br>
+    * specification says:<br>
+    *<br>
+    *     "Some quoted text from the specificiation"<br>
+    */<br>
+</pre><br></blockquote><div><br></div><div>The OpenGL specs since version 3.2 come in four flavours:<br>- glspecN.core.YYYYMMDD.pdf<br>- glspecN.core.YYYYMMDD.withchanges.pdf<br>- glspecN.compatibility.YYYYMMDD.pdf<br>
- glspecN.compatibility.YYYYMMDD.withchanges.pdf<br><br></div><div>Since these four documents don't in general have matching page numbers, I think we should make a recommendation as to which one to quote from.  My preference: glspecN.compatibility.YYYYMMDD.withchanges.pdf, since it contains information about the deltas both from core to compatibility and from one version to the next, so it's the most likely to tip us off to subtle API or version dependencies that we need to be careful about.<br>
</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
+<br>
+<p><br>
+Text quoted from the GLSL or GLSL ES ES specifications:<br>
+</p><br>
+<br>
+<pre><br>
+   /* Page AA (page BB of the PDF) in section C.D.E of the GLSL F.G<br>
+    * specification says:<br>
+    *<br>
+    *     "Some quoted text from the specificiation"<br>
+    */<br>
+</pre><br>
+<br>
+<p><br>
+Text quoted from an extension specifications:<br>
+</p><br>
+<br>
+<pre><br>
+   /* Section C.D.E of the GL_EXT_foo_bar specification says:<br>
+    *<br>
+    *     "Some quoted text from the specificiation"<br>
+    */<br>
+</pre><br></blockquote><div><br></div><div>My impression is that most extension specs aren't divided into numbered sections like this--instead the sections tend to be labeled things like "Overview", "Issues", or "Additions to Chapter N...".  Since extension specifications are text files, perhaps it would be better to quote by line number?<br>
</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
 <h2>Marking a commit as a candidate for a stable branch</h2><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
1.7.11.7<br>
<br>
</font></span></blockquote></div><br></div></div>