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 accessing outputs of shader compilation #91623

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

[HLSL] Design c-style apis for accessing outputs of shader compilation #91623

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 and accessing specific data in the outputs of the compilation.
A desire has been expressed to have an equivalent solution exposed in pure c apis. These apis should cover all features required to provide access to this data.

This issue is to bottom out on what data we really need apis for and what data clang already has apis to access. Another output of this task an api design to access this data.

What data?

  • DXC container information
  • Shader reflection data
  • Disassembly
  • Other outputs?

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. This should already be known by completing Issue [HLSL] Implement c-style apis for compiling a shader #90784
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