gallivm: support negation on 64-bit integers

This should be analogous to 32-bit integers.

Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Signed-off-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
Nicolai Hähnle 2016-09-15 12:17:56 +02:00
parent 4207612f9c
commit 1f291369e4

View file

@ -389,6 +389,10 @@ lp_build_emit_fetch(
case TGSI_TYPE_UNSIGNED:
res = lp_build_negate( &bld_base->int_bld, res );
break;
case TGSI_TYPE_SIGNED64:
case TGSI_TYPE_UNSIGNED64:
res = lp_build_negate( &bld_base->int64_bld, res );
break;
case TGSI_TYPE_VOID:
default:
assert(0);