>
> Extending TSGI is a bit of a black art but you seem to have figured it out.
>
> I'm looking at the swizzle fields in tgsi_texture_offset. Why do
> those exist? I'm guessing it's just for the case that a bunch of
> offsets get tightly packed in a constant slot. 0, 1, -1 would seem to
> be ver
On 08/30/2011 04:43 PM, Brian Paul wrote:
> On Mon, Aug 29, 2011 at 7:38 AM, Dave Airlie wrote:
>> From: Dave Airlie
>>
>> This adds tokens for texture offsets, to store 4 * swizzled vec 3
>> for use in TXF and other opcodes.
>>
>> It also contains TGSI exec changes for softpipe to use this code,
On Mon, Aug 29, 2011 at 7:38 AM, Dave Airlie wrote:
> From: Dave Airlie
>
> This adds tokens for texture offsets, to store 4 * swizzled vec 3
> for use in TXF and other opcodes.
>
> It also contains TGSI exec changes for softpipe to use this code,
> along with GLSL->TGSI support for TXF.
>
> Sign
From: Dave Airlie
This adds tokens for texture offsets, to store 4 * swizzled vec 3
for use in TXF and other opcodes.
It also contains TGSI exec changes for softpipe to use this code,
along with GLSL->TGSI support for TXF.
Signed-off-by: Dave Airlie
---
src/gallium/auxiliary/tgsi/tgsi_build.c