Skip to content

Conversation

@solidpixel
Copy link
Contributor

The current code uses C++ template tag dispatch for the main layer intercept/driver dispatch function pointer tables, but not for the implementations backing the exported entrypoints. We currently emit per-layer code that is hard-coded to call "_default()" implementations. This is functional and allows replacement in the layer, but results in more code to maintain over the layers. We should just use the template tag dispatch mechanism everywhere.

Fixes #26 and #27

@solidpixel solidpixel merged commit 543afec into main Dec 11, 2024
5 checks passed
@solidpixel solidpixel deleted the tag_dispatch2 branch December 11, 2024 21:30
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

Successfully merging this pull request may close these issues.

Use a common entry.cpp with tag dispatch to replace per-layer entry.cpp

2 participants