mesa/src/gallium/docs
Hans de Goede b5e7907f30 nouveau: codegen: LOAD: Take src swizzle into account
The llvm TGSI backend uses pointers in registers and does things
like:

LOAD TEMP[0].y, MEMORY[0], TEMP[0]

Expecting the data at address TEMP[0].x to get loaded to
TEMP[0].y. But this will cause the data at TEMP[0].x + 4 to be
loaded instead.

This commit adds support for a swizzle suffix for the 1st source
operand, which allows using:

LOAD TEMP[0].y, MEMORY[0].xxxx, TEMP[0]

And actually getting the desired behavior

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
2016-04-27 16:11:48 +02:00
..
source nouveau: codegen: LOAD: Take src swizzle into account 2016-04-27 16:11:48 +02:00
llvm-todo.txt llvmpipe: bump glsl version to 140 2013-03-02 02:54:30 +01:00
make.bat Add Gallium docs. 2009-12-20 15:00:40 -08:00
Makefile Add Gallium docs. 2009-12-20 15:00:40 -08:00