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

Add new HLSL operators for 'int' and 'uint' operands #818

Merged
merged 3 commits into from
Jun 20, 2024

Conversation

Sergio0694
Copy link
Owner

Closes #817

Description

This PR adds new operators for all int and uint HLSL vector and matrix types, taking int and uint right operands. This makes it possible to use them with literal expressions in C# that could be ambiguous between int and uint.

@Sergio0694 Sergio0694 added the feature 🎉 A brand new feature for ComputeSharp label Jun 20, 2024
@Sergio0694 Sergio0694 merged commit 183db9c into main Jun 20, 2024
24 checks passed
@Sergio0694 Sergio0694 deleted the dev/operator-overloads branch June 20, 2024 05:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 🎉 A brand new feature for ComputeSharp
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Shifting left int4 << int is "ambiguous" ?
1 participant