aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/compiler/radeon_pair_translate.c
Commit message (Collapse)AuthorAgeFilesLines
* r300/compiler: Add support for inline literalsTom Stellard2012-03-041-1/+9
| | | | | On R500 chips, shader instructions can take 7-bit (3-bit mantissa, 4-bit exponent) floating point values as inputs in place of registers.
* r300/compiler: Use consistent src swizzles for transcendent instructionsTom Stellard2011-10-021-1/+7
| | | | | | | | | | | | | | | Source swizzles for transcendent instructions were being stored in the X channel regardless of what channel the instruction was writing. This was causing problems for some helper functions that were expecting source swizzles to occupy channels corresponding to the instruction's writemask. This commit makes transcendent instructions follow the same convention as normal instructions for representing source swizzles. Previous behavior: LG2 temp[0].y, input[0].x___; Current behavior: LG2 temp[0].y, input[0]._x__;
* r300/compiler: Add support for the output modifier (OMOD)Tom Stellard2011-09-161-0/+7
|
* r300g: copy the compiler from r300cMarek Olšák2011-07-261-0/+359
What a beast. r300g doesn't depend on files from r300c anymore, so r300c is now left to its own fate. BTW 'make test' can be invoked from the gallium/r300 directory to run some compiler unit tests.