diff options
author | Bryan Cain <[email protected]> | 2012-01-07 10:43:04 -0600 |
---|---|---|
committer | Bryan Cain <[email protected]> | 2012-01-07 15:37:32 -0600 |
commit | 4c0f1fb5ec6117f07c9c911d7f74ff0d18c51d98 (patch) | |
tree | 4cdf083dc38f0938c6e879358160700398b4171e /src/gallium/docs | |
parent | 291e374ea5528abd084bf0e9996a81b2f2e65e10 (diff) |
gallium: add an IABS opcode to TGSI
This is a necessary operation that is missing from TGSI.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/docs')
-rw-r--r-- | src/gallium/docs/source/tgsi.rst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source/tgsi.rst index 45af528b8e9..7e7010f407f 100644 --- a/src/gallium/docs/source/tgsi.rst +++ b/src/gallium/docs/source/tgsi.rst @@ -1043,6 +1043,19 @@ XXX so let's discuss it, yeah? destination register, which is assumed to be an address (ADDR) register. +.. opcode:: IABS - Integer Absolute Value + +.. math:: + + dst.x = |src.x| + + dst.y = |src.y| + + dst.z = |src.z| + + dst.w = |src.w| + + .. opcode:: SAD - Sum Of Absolute Differences .. math:: |