<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Feb 14, 2015 at 1:02 PM, Matt Turner <span dir="ltr"><<a href="mailto:mattst88@gmail.com" target="_blank">mattst88@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sat, Feb 14, 2015 at 1:00 PM, Connor Abbott <<a href="mailto:cwabbott0@gmail.com">cwabbott0@gmail.com</a>> wrote:<br>
> I think we should be adding this to nir_emit_system_values_block()<br>
> like we do for the other system values. This should get us parity with<br>
> what we had before where we only called<br>
> emit_frontfacing_interpolation() once per shader.<br>
<br>
</span>Calling it once per shader isn't really important -- it just emits a<br>
single instruction.<br></blockquote><div><br></div><div>In fact, we should probably be careful with that in general as it lengthens live-ranges.  Oh, for GCM in the backend IR.<br></div><div>--Jason <br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In fact, once we remove brw_fs_visitor.cpp I'd be in favor of removing<br>
emit_frontfacing_interpolation() itself.<br>
</blockquote></div><br></div></div>