Skip to content

Commit

Permalink
Add define gl_InstanceID of gl_InstanceIndex for webgpu (#7123)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexAPPi authored Nov 20, 2024
1 parent ce5ea35 commit 38dea6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/platform/graphics/shader-chunks/vert/webgpu.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ export default /* glsl */`
#define WEBGPU
#define VERTEXSHADER
#define gl_VertexID gl_VertexIndex
#define gl_InstanceID gl_InstanceIndex
`;

0 comments on commit 38dea6d

Please sign in to comment.