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

glslangValidator '-e' doesn't work correctly #3829

Open
SC5Shout opened this issue Jan 5, 2025 · 0 comments
Open

glslangValidator '-e' doesn't work correctly #3829

SC5Shout opened this issue Jan 5, 2025 · 0 comments

Comments

@SC5Shout
Copy link

SC5Shout commented Jan 5, 2025

I've got this shader code:

#version 450

void mainVS() 
{
    gl_Position = vec4(0.0, 0.0, 0.0, 1.0);
}

and when I run

glslangValidator -V -S vert -e mainVS -o vertex_shader.spv shader.glsl

I get this error: ERROR: Linking vertex stage: Missing entry point: Each stage requires one entry point

when I change void mainVS() to void main() and run glslangValidator... again, it works fine.

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

No branches or pull requests

1 participant