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

Remove is_finite and is_normal intrinsics. #841

Closed
wants to merge 1 commit into from
Closed

Remove is_finite and is_normal intrinsics. #841

wants to merge 1 commit into from

Conversation

dj2
Copy link
Member

@dj2 dj2 commented Jun 4, 2020

This CL removes the is_finite and is_normal intrinsics. In order to
convert them into the OpIsFinite and OpIsNormal in SPIR-V the Kernel
capability is required. The Kernel capability requires a Kernel
execution mode. We do not use the Kernel execution mode but the
GLCompute execution mode for compute shaders.

If these methods are desired, they'll need to be added to the standard
library.

This CL removes the is_finite and is_normal intrinsics. In order to
convert them into the OpIsFinite and OpIsNormal in SPIR-V the Kernel
capability is required. The Kernel capability requires a Kernel
execution mode. We do not use the Kernel execution mode but the
GLCompute execution mode for compute shaders.

If these methods are desired, they'll need to be added to the standard
library.
@dj2 dj2 added wgsl WebGPU Shading Language Issues for wgsl meeting labels Jun 4, 2020
@dj2 dj2 self-assigned this Jun 4, 2020
@grorg grorg added this to For Next Meeting in WGSL Jun 8, 2020
@grorg
Copy link
Contributor

grorg commented Jun 9, 2020

Discussed at the 2020-06-09 meeting.

@dj2
Copy link
Member Author

dj2 commented Jun 9, 2020

Closing this for now. Instead of removing, will put up a new PR which translates the is_finite and is_normal into the more complex SPIR-V representations.

@dj2 dj2 closed this Jun 9, 2020
WGSL automation moved this from For Next Meeting to Done Jun 9, 2020
@dj2 dj2 deleted the intrinsic branch June 9, 2020 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wgsl WebGPU Shading Language Issues
Projects
WGSL
Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants