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

Metal Vertex Buffer Bindings #12476

Open
LucasSaragosa opened this issue Mar 6, 2025 · 1 comment
Open

Metal Vertex Buffer Bindings #12476

LucasSaragosa opened this issue Mar 6, 2025 · 1 comment
Assignees
Milestone

Comments

@LucasSaragosa
Copy link

In SDL_gpu_metal.mm

Line 2460: metalBuffers[i + firstBinding] = currentBuffer->handle;
needs to be changed to metalBuffers[i] = currentBuffer->handle;

The local array range is already changed after by the range parameter. Don't blame you to be fair, the documentation is literally non existent.

@slouken slouken added this to the 3.2.10 milestone Mar 6, 2025
@TheSpydog
Copy link
Collaborator

The Metal resource binding code was fully rewritten a while ago, so the line you're referring to no longer exists. Can you check this scenario with the latest SDL3 release?

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

3 participants