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

gl_VertexID broken on Vulkan #84

Closed
luboslenco opened this issue Sep 16, 2021 · 6 comments
Closed

gl_VertexID broken on Vulkan #84

luboslenco opened this issue Sep 16, 2021 · 6 comments

Comments

@luboslenco
Copy link
Contributor

Not sure if this is on purpose, using gl_VertexID worked at ea222cd but now it assets when calling vkCreateGraphicsPipelines.

@RobDangerous
Copy link
Member

Hu, I cut that out because the validation layers told me vertexId isn't allowed.

@RobDangerous
Copy link
Member

So, gl_VertexID is indeed not a thing in Vulkan but it looks like drivers are generous. Instead there's gl_VertexIndex - which apparently is similar but different in details I still have to find out about. I'll rewrite gl_VertexID to gl_VertexIndex for now.

@luboslenco
Copy link
Contributor Author

Super cool!

@luboslenco
Copy link
Contributor Author

On no, it looks like this re-introduced #83, ie. getting black screen for https://github.com/Kinc-Samples/Texture-Kinc.

@RobDangerous
Copy link
Member

Reopening...

@RobDangerous RobDangerous reopened this Nov 20, 2021
@RobDangerous
Copy link
Member

Reclosing.

This issue was closed.
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

2 participants