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

WebGPURenderer: OperatorNode Add unary operator support #27641

Merged
merged 2 commits into from
Jan 29, 2024

Conversation

RenaudRohlinger
Copy link
Collaborator

@RenaudRohlinger RenaudRohlinger commented Jan 29, 2024

Adds bitNot and not support to OperatorNode. For these type of operator the second node doesn't exist so I handled that too. For example:

const a = b.bitNot(); // no second operator
c.assign( a.bitAnd( a ) );
d.assign( d.not() ); // no second operator

This contribution is funded by Utsubo

@sunag sunag added this to the r161 milestone Jan 29, 2024
@sunag sunag merged commit 2319f15 into mrdoob:dev Jan 29, 2024
11 checks passed
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.

2 participants