<div class="gmail_quote">On Wed, Aug 11, 2010 at 5:41 PM, Luca Barbieri <span dir="ltr">&lt;<a href="mailto:luca@luca-barbieri.com">luca@luca-barbieri.com</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 class="im">&gt; I&#39;m completely okay with this iteration of this patchset, since it<br>
&gt; requires no Gallium API changes and seems very straightforward. I do<br>
&gt; have a question, though, since I&#39;m so unfamiliar with nvfx. In r300g<br>
&gt; there is a fragment program rewrite to normalize texcoords<br>
&gt; unconditionally for r300 and conditionally for r500. This is also how<br>
&gt; we fake our NPOT support. Is this kind of rewriting truly impossible<br>
&gt; for nvfx, or just time-consuming?<br>
<br>
</div>It&#39;s possible (but time-consuming and likely with significant overhead).<br>
But even then it would be somewhat silly to make things like blitter<br>
go through it.<br></blockquote></div><br>I am not sure if the following is legal, but I think we will just mask 
this unnormalized flag out in resource_create, because r300 doesn&#39;t like
 (read: doesn&#39;t support in hardware) unnormalized texture coordinates, 
and switching shaders just because of the flag is silly.<br><br>-Marek<br>