<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>Am 29.04.2011 um 00:39 schrieb Matteo Bruni:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>2011/4/29 Stefan Dösinger &lt;<a href="mailto:stefandoesinger@gmx.at">stefandoesinger@gmx.at</a>&gt;:<br><blockquote type="cite"><blockquote type="cite">+ &nbsp; &nbsp;shader_addline(buffer, "TEMP TB;\n");<br></blockquote></blockquote><blockquote type="cite">Which shader instruction uses this? Afair vertex shaders should only use TA,<br></blockquote><blockquote type="cite">but there's no proper infrastructure that manages that.<br></blockquote><blockquote type="cite"><br></blockquote><br>AFAICS, TB could get used in shader_hw_pow():<br><br>...<br> &nbsp;&nbsp;&nbsp;shader_arb_get_src_param(ins, &amp;ins-&gt;src[1], 1, src1);<br>...<br><br>where the '1' in the third argument means that<br>shader_arb_get_src_param() is allowed to use TB as temporary storage.<br>There may be other pieces of code with the same assumption, I didn't<br>look deeper.<font class="Apple-style-span" color="#000000"><font class="Apple-style-span" color="#144FAE"><br></font></font></div></blockquote>Ok</div><div><br></div></body></html>