We will also need GL_ARB_color_buffer_float anyway and it shouldn&#39;t infringe anything. This issue of the spec nails it:<br><br><pre>&gt;22. Should this extension require a floating-point color buffer<br>&gt;    or texture?<br>

&gt;<br>&gt;    RESOLVED:  No.  This extension provides the ability to pass an<br>&gt;    unclamped color between vertex and fragment programs/shaders,<br>&gt;    which may be useful. This was possible prior to this extension,<br>

&gt;    by passing the color data as texture coordinates or named<br>&gt;    varying variables (for vertex/fragment shaders).<br></pre><br>Yes, the color varyings between vertex and fragment shaders should be clamped by default (see also piglit/glsl-clamp-vertex-color). And concerning fragment color clamping, we should provide a way for a user to be able to write and read unclamped color values once we have GL_EXT_texture_snorm, the subset of which is already implemented in Mesa.<br>

<br>Marek<br><br><div class="gmail_quote">On Fri, Dec 24, 2010 at 3:58 AM, Eric Anholt <span dir="ltr">&lt;<a href="mailto:eric@anholt.net">eric@anholt.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div><div></div><div class="h5">On Wed, 22 Dec 2010 22:12:18 +0100, Marek Olšák &lt;<a href="mailto:maraeo@gmail.com">maraeo@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; in case anyone is interested, I have implemented the floating-point formats<br>
&gt; from GL_ARB_texture_rg, namely R16F, RG16F, R32F, RG32F, for both core Mesa<br>
&gt; and st/mesa. The commits are here:<br>
&gt;<br>
&gt; <a href="http://cgit.freedesktop.org/%7Emareko/mesa/commit/?h=floating2&amp;id=a68e9890451140f493d09f1dd2dd8dfc77ed29de" target="_blank">http://cgit.freedesktop.org/~mareko/mesa/commit/?h=floating2&amp;id=a68e9890451140f493d09f1dd2dd8dfc77ed29de</a><br>


&gt; <a href="http://cgit.freedesktop.org/%7Emareko/mesa/commit/?h=floating2&amp;id=7216311b553bcc9331492d4d03a25d36348567d5" target="_blank">http://cgit.freedesktop.org/~mareko/mesa/commit/?h=floating2&amp;id=7216311b553bcc9331492d4d03a25d36348567d5</a><br>


&gt;<br>
&gt; FWIW there is also experimental support of floating-point rendering for<br>
&gt; r300g in that &#39;floating2&#39; branch, and trivial support of<br>
&gt; GL_ATI_texture_float. It&#39;s based on Luca&#39;s &#39;floating&#39; branch.<br>
&gt;<br>
&gt; BTW, is there any progress on the floating-point patent matter? We should<br>
&gt; probably also take into account non-US Linux distributions like some<br>
&gt; variants of Mint, because they don&#39;t have to care about software patents and<br>
&gt; they already freely distribute patented stuff like some multimedia codecs. I<br>
&gt; think they would use whatever Mesa has to offer, patented or not.<br>
<br>
</div></div>We should just put enabling patented extensions under --enable configure<br>
flags and call it good.<br>
</blockquote></div><br>