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] Design c-style apis for compiling a shader only #91621

Open
Tracked by #63631
coopp opened this issue May 9, 2024 · 0 comments
Open
Tracked by #63631

[HLSL] Design c-style apis for compiling a shader only #91621

coopp opened this issue May 9, 2024 · 0 comments
Assignees
Labels
HLSL HLSL Language Support

Comments

@coopp
Copy link
Contributor

coopp commented May 9, 2024

DXC exposes a COM based library today for compiling shaders. A desire has been expressed to have an equivalent solution for compiling shaders but exposed in pure c apis. These apis should cover all features required to perform compilation. The COM based library exposes lots of other features, but this Issue is for compiling shaders only and returning outputs in a form that a client code can consume.

This design is purely about the api surface and its functionality, not about the hosting of where compilation is performed. That will be explained in Issue #90784

Requirements

  • c-style! (no COM apis!... I heard bad things happen if HRESULTs start showing up in the llvm-project code base)
  • Spec showing the design with code snippets.
  • Test approach understood
  • Documentation approach understood. (Where will it live, what does it look like?)
@coopp coopp added the HLSL HLSL Language Support label May 9, 2024
@coopp coopp self-assigned this May 9, 2024
@coopp coopp changed the title [HLSL] Design c-style apis for compiling a shader [HLSL] Design c-style apis for compiling a shader only May 9, 2024
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

1 participant