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

Remove specialization logic for interfaces in structured buffers. #112

Merged
merged 1 commit into from
Dec 7, 2024

Conversation

csyonghe
Copy link
Contributor

Delete some unnecessary specialization logic around handling of StructuredBuffer<IFoo>, since we no longer treat a shader parameter of StructuredBuffer<IFoo> type as a specializable parameter. Such parameters will always treat IFoo as a dynamically dispatched element instead of something specializable, because it is not very meaningful to specialize StructuredBuffer to StructuredBuffer. In practice the StructuredBuffer usually represent a heterogeneous array.

@CLAassistant
Copy link

CLAassistant commented Nov 22, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Collaborator

@skallweitNV skallweitNV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this specific to WGPU only or to other backends as well?

@csyonghe
Copy link
Contributor Author

csyonghe commented Dec 6, 2024

It applies to all backends.

@csyonghe csyonghe merged commit 4abb09e into main Dec 7, 2024
15 checks passed
@csyonghe csyonghe deleted the slang branch December 7, 2024 21:59
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.

3 participants