mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
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:
parent
4207612f9c
commit
1f291369e4
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue