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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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?

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