Skip to content

sokol_gfx.h: add indirect draw and dispatch support - #1578

Draft
squk wants to merge 3 commits into
floooh:masterfrom
squk:indirect-draw-dispatch
Draft

squk wants to merge 3 commits into
floooh:masterfrom
squk:indirect-draw-dispatch

Conversation

@squk

@squk squk commented Aug 11, 2026

Copy link
Copy Markdown

#1556

I've had a hacky variant of this working in a private branch of my https://github.com/squk/sokol_utils repo that I got working for a virtual geometry renderer PoC for Metal only. Here's a broader attempt.

@floooh

floooh commented Aug 11, 2026

Copy link
Copy Markdown
Owner

I won't merge the PR, but I'll keep it open in case people are interested before an 'official' solution arrives.

@floooh
floooh marked this pull request as draft August 11, 2026 16:09
@floooh

floooh commented Aug 11, 2026

Copy link
Copy Markdown
Owner

(I should probably start thinking about setting up a CONTRIBUTING.md...)

@floooh

floooh commented Aug 13, 2026 •

Copy link
Copy Markdown
Owner

PS: having looked through the PR a bit, I will very likely base the 'official' thing directly on it, so one way or another the PR will most likely end up in master but with a couple of things renamed, moved around and added. I just want to push through at least the first half of the 'new resource update API' first. Also for new features I want to take enough time to get deeply familiar with the code (e.g. "as if I wrote it myself").

In any case, thanks for the effort! :)

@floooh floooh self-assigned this Aug 13, 2026
@floooh floooh moved this to Todo in sokol todo Aug 13, 2026
@squk
squk force-pushed the indirect-draw-dispatch branch 2 times, most recently from af922f2 to 2bd7230 Compare September 16, 2026 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants