mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
gallivm: fix floating type in lp_build_mod helper
untested, but cannot have worked before.
This commit is contained in:
parent
05579339c0
commit
da5e9fce47
1 changed files with 1 additions and 1 deletions
|
|
@ -2571,7 +2571,7 @@ lp_build_mod(struct lp_build_context *bld,
|
|||
|
||||
if (type.floating)
|
||||
res = LLVMBuildFRem(builder, x, y, "");
|
||||
if (type.sign)
|
||||
else if (type.sign)
|
||||
res = LLVMBuildSRem(builder, x, y, "");
|
||||
else
|
||||
res = LLVMBuildURem(builder, x, y, "");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue