ab4c035762
These two functions in HLSL only accept and return uint. Thus, if the result of these calls is passed to a function that wants int, it will fail, or call the uint overload if one exists. Fixed by casting the result to int if the arg is int. Bug: tint:1550 Change-Id: Id4c0970a29ac4c83ee5b78be8d2762e05e4a3f03 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/91001 Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: Antonio Maiorano <amaiorano@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> |
||
---|---|---|
.. | ||
tint | ||
OWNERS |