[Mesa-dev] [PATCH] r300/compiler: Prevent the fragmentation of TEX blocks in the pair scheduler.
maraeo at gmail.com
Thu Jun 3 12:21:26 PDT 2010
On Thu, Jun 3, 2010 at 9:01 PM, Alex Deucher <alexdeucher at gmail.com> wrote:
> The word is:
> Registers should be fully read before they are written so you can use
> the same register for the result of the read, but you cannot do
> dependant textures in one clause.
This matches what I've seen from shader disassembly in AMD RenderMonkey. One
of TEX blocks looked something like this:
TEX r3, r0, s0, 2D
TEX r0, r0, s1, 2D
TEX r6, r2, s0, 2D
TEX r2, r2, s1, 2D
TEX r1, r4, s0, 2D
TEX r4, r4, s1, 2D
The disassembler works with Direct3D9/HLSL shaders only.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mesa-dev