Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wgsl]: Remove scalar overloads of faceForward and reflect #1914

Merged
merged 1 commit into from
Jul 7, 2021

Conversation

ben-clayton
Copy link
Collaborator

MSL does not have scalar overloads for these, as they have little practical use for scalar arguments.

Note: MSL also does not have scalar overloads for distance or length, but these make some sense in scalar form, and might be useful if we supported generic / templated functions.

MSL does not have scalar overloads for these, as they don't make much sense for scalars.
@ben-clayton
Copy link
Collaborator Author

Do we need more people to give their approval on this, or are we good to land?

FWIW, we briefly discussed this in the office hours today, and @litherum had no objections. But office hours are not for WG decisions. :)

@kvark
Copy link
Contributor

kvark commented Jul 7, 2021

The informal agreement sound fine to me.

@kvark kvark merged commit 2fe61c0 into gpuweb:main Jul 7, 2021
github-actions bot added a commit that referenced this pull request Jul 7, 2021
SHA: 2fe61c0
Reason: push, by @kvark

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions bot added a commit that referenced this pull request Jul 7, 2021
SHA: 2fe61c0
Reason: push, by @kvark

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions bot added a commit that referenced this pull request Jul 7, 2021
SHA: 2fe61c0
Reason: push, by @kvark

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@ben-clayton ben-clayton deleted the rm-scalar-overloads branch July 8, 2021 07:28
ben-clayton added a commit to ben-clayton/Tint that referenced this pull request Jul 13, 2021
These were removed from the spec in:
gpuweb/gpuweb#1914

Bug: tint:921
Change-Id: I4e584fdee9cf540a192f12d1208595056e081410
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/57300
Auto-Submit: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: James Price <jrprice@google.com>
Reviewed-by: James Price <jrprice@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants