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

[HLSL] Input structs with semantics on members #57875

Open
llvm-beanz opened this issue Sep 21, 2022 · 1 comment
Open

[HLSL] Input structs with semantics on members #57875

llvm-beanz opened this issue Sep 21, 2022 · 1 comment
Labels
HLSL HLSL Language Support

Comments

@llvm-beanz
Copy link
Collaborator

HLSL entry functions can take structs as inputs if all the members of the struct are annotated with semantic annotations.

@bogner
Copy link
Contributor

bogner commented Aug 29, 2023

We should probably consolidate the visitor logic for this with the handling for OpenCL kernel parameters (see checkIsValidOpenCLKernelParameter)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HLSL HLSL Language Support
Projects
Status: No status
Development

No branches or pull requests

2 participants