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

Add descriptions to GlslangToSpv.h #3759

Open
spencer-lunarg opened this issue Oct 9, 2024 · 0 comments
Open

Add descriptions to GlslangToSpv.h #3759

spencer-lunarg opened this issue Oct 9, 2024 · 0 comments
Assignees

Comments

@spencer-lunarg
Copy link
Contributor

Inside https://github.com/KhronosGroup/glslang/blob/main/SPIRV/GlslangToSpv.h there is

struct SpvOptions {
    bool generateDebugInfo {false};
    bool stripDebugInfo {false};
    bool disableOptimizer {true};
    bool optimizeSize {false};
    bool disassemble {false};
    bool validate {false};
    bool emitNonSemanticShaderDebugInfo {false};
    bool emitNonSemanticShaderDebugSource{ false };
    bool compileOnly{false};
    bool optimizerAllowExpandedIDBound{false};
};

and no good way without reading the code or experimenting to know what these do.

Some simple comments on these to explain either what they do, or even the equivalent command line argument they emulate

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

No branches or pull requests

2 participants