gallium: add an IABS opcode to TGSI
This is a necessary operation that is missing from TGSI. Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
@@ -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::
|
||||
|
Reference in New Issue
Block a user