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

Missing Support for Bitwise Operators in DirectX Backend #268

Open
code-with-parth opened this issue Jan 19, 2025 · 2 comments
Open

Missing Support for Bitwise Operators in DirectX Backend #268

code-with-parth opened this issue Jan 19, 2025 · 2 comments
Assignees
Labels

Comments

@code-with-parth
Copy link

code-with-parth commented Jan 19, 2025

Description:
The DirectX backend currently lacks support for bitwise operators (&, |, ^). This results in errors when translating shaders containing these operators.

Steps to Reproduce:

  1. Write a shader using bitwise operators.

  2. Translate the shader using CrossGL.

  3. Observe the error during translation.

Expected Behavior:
The translator should handle bitwise operators correctly without errors.

Actual Behavior:
The translation fails with an unsupported operator error.

Environment Details:

OS: Windows 11

DirectX Version: 12

Python Version: 3.10

Additional Context:
I have reviewed the code in directxtocrossglcodegen.py and found that these operators are not implemented.

@code-with-parth
Copy link
Author

@CrossGL-issue-bot assign me

@CrossGL-issue-bot
Copy link

Thank you for taking on this issue! If you have any questions or need assistance, feel free to ask.

@github-actions github-actions bot added the stale label Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants