<div class="gmail_quote">On Thu, Jun 3, 2010 at 9:01 PM, Alex Deucher <span dir="ltr">&lt;<a href="mailto:alexdeucher@gmail.com" target="_blank">alexdeucher@gmail.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><div></div><div>
</div></div>The word is:<br>
Registers should be fully read before they are written so you can use<br>
the same register for the result of the read, but you cannot do<br>
dependant textures in one clause.<br></blockquote></div><br>This matches what I&#39;ve seen from shader disassembly in AMD RenderMonkey. One of TEX blocks looked something like this:<br><br>TEX r3, r0, s0, 2D<br>TEX r0, r0, s1, 2D<br>


TEX r6, r2, s0, 2D<br>
TEX r2, r2, s1, 2D<br>TEX r1, r4, s0, 2D<br>

TEX r4, r4, s1, 2D<br>...<br><br>The disassembler works with Direct3D9/HLSL shaders only.<br><br>-Marek<br>