mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-17 17:05:31 +00:00
tint/spir-v backend: emit OpSRem instead of OpSMod for remainder
operation Bug: tint:1802 Change-Id: I690ef658874ba8d0d9cd8efa2a91324db175650b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/118100 Commit-Queue: Antonio Maiorano <amaiorano@google.com> Reviewed-by: David Neto <dneto@google.com> Kokoro: Ben Clayton <bclayton@google.com> Reviewed-by: Ben Clayton <bclayton@google.com>
This commit is contained in:
committed by
Dawn LUCI CQ
parent
18204a71c3
commit
635c5d0f04
@@ -40,7 +40,7 @@
|
||||
%20 = OpLogicalAnd %v3bool %16 %19
|
||||
%21 = OpLogicalOr %v3bool %11 %20
|
||||
%9 = OpSelect %v3int %21 %23 %8
|
||||
%24 = OpSMod %v3int %lhs %9
|
||||
%24 = OpSRem %v3int %lhs %9
|
||||
OpReturnValue %24
|
||||
OpFunctionEnd
|
||||
%f = OpFunction %void None %25
|
||||
|
||||
Reference in New Issue
Block a user