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

Metal macosx- Shift cbuffer bindings broken #53

Open
DamianMadden opened this issue Feb 14, 2020 · 0 comments
Open

Metal macosx- Shift cbuffer bindings broken #53

DamianMadden opened this issue Feb 14, 2020 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@DamianMadden
Copy link

If this is supposed to shift the binding number for buffers in metal then it's not working, otherwise a comment mentioning specifically which shading languages it applies to would be nice.

To reproduce- I expect this will be the case with any HLSL shader to the msl_macos target, likely ios too but I've not checked.

Expected behavior- I expected that the constant buffers binding #'s would come out in MSL as either (the source binding number, depending on the input language, or 0) + the shift cbuffers int parameter in Compiler::Options

I should perhaps mention this is only significant as an issue because I'm trying to automate the process of converting shaders from HLSL to MSL as part of the build process for a project.

@gongminmin gongminmin added the help wanted Extra attention is needed label Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants