Skip to content

Commit a3a920c

Browse files
committed
dumpspirv: Fix linking shaders with mismatching binding/element counts
1 parent f6d87c7 commit a3a920c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dumpspirv/dumpspirv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ static uint8_t compileFromTrace(const char *filename, const char *folder, SDL_IO
820820
traceCtx.vertex->pd,
821821
traceCtx.fragment->pd,
822822
vtxDecl,
823-
numBindings
823+
numElements
824824
);
825825
SDL_free(vtxDecl);
826826

0 commit comments

Comments
 (0)