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: Ternary operator emitted #5289

Closed
aleino-nv opened this issue Oct 14, 2024 · 0 comments · Fixed by #5490
Closed

WGSL: Ternary operator emitted #5289

aleino-nv opened this issue Oct 14, 2024 · 0 comments · Fixed by #5490
Assignees
Labels
goal:forward looking Feature needed at a later date, not connected to a specific use case. siggraphasia-2024

Comments

@aleino-nv
Copy link
Collaborator

Affected tests:

  • tests/autodiff-dstdlib/dstdlib-abs.slang

WGPU errors:

WGPU error: Error while parsing WGSL: :11:47 error: invalid character found
    var _S1 : f32 = ((*dpx_0).primal_0 > 0.0f ? 1.0f : (*dpx_0).primal_0 == 0.0f ? 0.0f : -1.0f) * dOut_0;
@aleino-nv aleino-nv self-assigned this Oct 14, 2024
@bmillsNV bmillsNV added goal:forward looking Feature needed at a later date, not connected to a specific use case. siggraphasia-2024 labels Oct 17, 2024
@bmillsNV bmillsNV added this to the Q4 2024 (Fall) milestone Oct 17, 2024
@csyonghe csyonghe assigned csyonghe and unassigned aleino-nv Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
goal:forward looking Feature needed at a later date, not connected to a specific use case. siggraphasia-2024
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants