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

Command Line Namespace Option Consumes AZSL File Path #41

Open
santorac opened this issue Jun 22, 2022 · 0 comments
Open

Command Line Namespace Option Consumes AZSL File Path #41

santorac opened this issue Jun 22, 2022 · 0 comments
Assignees
Labels

Comments

@santorac
Copy link
Contributor

Run a command like "azslc.exe --namespace dx MyShader.azsl". It will report an error "input file could not be opened". If you step through in a debugger, you'll see that the namespace option thinks there are two namespaces: "dx" and "MyShader.azsl".

I suggest we change the data type for namespace to be a single string, instead of a list of strings, so it will stop when it hits a space. Then split the string on the "," character to support multiple namespaces.

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

No branches or pull requests

2 participants