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

Expose access to reflection data #22

Open
Jjagg opened this issue Dec 13, 2018 · 6 comments
Open

Expose access to reflection data #22

Jjagg opened this issue Dec 13, 2018 · 6 comments
Labels
enhancement New feature or request
Milestone

Comments

@Jjagg
Copy link

Jjagg commented Dec 13, 2018

Is your feature request related to a problem? Please describe.
With the current API it is not possible to get reflection data from built shaders.

Describe the solution you'd like
A way of accessing the SPIRV-Cross reflection data (if SPIRV-Cross is used) and DXC reflection data.

Additional context
There is an example of how to get DXC reflection data in their tests here, but looks like it's Windows only. SPIRV-Cross has a wiki page for their reflection API.

@gongminmin gongminmin added the enhancement New feature or request label Dec 14, 2018
@gongminmin gongminmin added this to the v0.4 milestone Dec 14, 2018
@gongminmin
Copy link
Contributor

This will be the major feature in version 0.4. Thanks for reporting!

@WJsjtu
Copy link

WJsjtu commented Jan 14, 2020

Is there any progress or plan on this issue? Or should I use something like #45 for now?

@gongminmin
Copy link
Contributor

The code review of #45 is not finished. Waiting for a change from author. I'll contact him for a revision.

@rejurime
Copy link

No news from @sunnypchen, right? 😞

@cpt-max
Copy link

cpt-max commented Aug 12, 2020

I added reflection features to my ShaderConductor fork. It's for SPIRV-Cross. It's very specific to what I need for the MonoGame shader compiler, but it might still be helpful. After all most projects will probably have somewhat similar reflection requirements.

@gongminmin
Copy link
Contributor

gongminmin commented Sep 25, 2020

A preliminary dxil reflection is added in 063c0ea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants