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

Support explicit interface implementations for shader entry points #856

Merged
merged 5 commits into from
Sep 21, 2024

Conversation

Sergio0694
Copy link
Owner

Closes #855

Description

This PR updates the DX12/D2D generators to correctly handle entry points using explicit interface implementations.
It also adds a small performance improvement when rewriting entry point methods with no implicit locals.
Lastly, it adds one more transpiled source unit test (as well as new tests for the new supported scenario).

@Sergio0694 Sergio0694 added the bug fix ✅ A fix for a reported/discovered bug label Sep 21, 2024
@Sergio0694 Sergio0694 merged commit f077308 into main Sep 21, 2024
24 checks passed
@Sergio0694 Sergio0694 deleted the dev/shader-explicit-entry-points branch September 21, 2024 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fix ✅ A fix for a reported/discovered bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Shader compilation failed when implementing IComputeShader interface in a different way.
1 participant