From 999cd79c9e1a5dc2d3f126670a1ca7ea4e7ee128 Mon Sep 17 00:00:00 2001 From: Zack Rusin Date: Sun, 28 Apr 2013 10:50:55 -0400 Subject: tgsi: allow negation of all integer types MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's valid because we reuse certain arithmetic operations for both signed and unsigned types (e.g. uadd, umad, which have a bit unfortunate naming) Signed-off-by: Zack Rusin Reviewed-by: José Fonseca Reviewed-by: Roland Scheidegger --- src/gallium/docs/source/tgsi.rst | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/gallium/docs') diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source/tgsi.rst index 0a5b2274a9a..a528fd27688 100644 --- a/src/gallium/docs/source/tgsi.rst +++ b/src/gallium/docs/source/tgsi.rst @@ -32,11 +32,8 @@ For inputs which have a floating point type, both absolute value and negation modifiers are supported (with absolute value being applied first). TGSI_OPCODE_MOV is considered to have float input type for applying modifiers. -For inputs which have signed type only the negate modifier is supported. This -includes instructions which are otherwise ignorant if the type is signed or -unsigned, such as TGSI_OPCODE_UADD. - -For inputs with unsigned type no modifiers are allowed. +For inputs which have signed or unsigned type only the negate modifier is +supported. Instruction Set --------------- -- cgit v1.2.3