tgsi: allow negation of all integer types
authorZack Rusin <zackr@vmware.com>
Sun, 28 Apr 2013 14:50:55 +0000 (10:50 -0400)
committerZack Rusin <zackr@vmware.com>
Thu, 2 May 2013 06:43:42 +0000 (02:43 -0400)
commit999cd79c9e1a5dc2d3f126670a1ca7ea4e7ee128
tree748b3794ce1a32d90a2ad8f8b6b3fc7c3967dcb9
parent1dfea559c3f188a7a82a4abc09765ba09e939522
tgsi: allow negation of all integer types

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 <zackr@vmware.com>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_tgsi.c
src/gallium/auxiliary/tgsi/tgsi_info.c
src/gallium/docs/source/tgsi.rst