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 define gl_InstanceID of gl_InstanceIndex for webgpu #7026

Open
AlexAPPi opened this issue Oct 10, 2024 · 0 comments · May be fixed by #7027
Open

Add define gl_InstanceID of gl_InstanceIndex for webgpu #7026

AlexAPPi opened this issue Oct 10, 2024 · 0 comments · May be fixed by #7027
Assignees
Labels
area: graphics Graphics related issue feature request

Comments

@AlexAPPi
Copy link

Shaders have gl_VertexID defined but not gl_InstanceID.

#define GL2
#define WEBGPU
#define VERTEXSHADER
#define gl_VertexID gl_VertexIndex
#define GL2
#define WEBGPU
#define VERTEXSHADER
#define gl_VertexID gl_VertexIndex
#define gl_InstanceID gl_InstanceIndex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: graphics Graphics related issue feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants