You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of the latest commit (and since the "bindings cleanup" back in November?) it looks like the sokolc.cc reflection backend generates sg_shader_uniform_desc <module>_<program>_uniform_desc(sg_shader_stage stage, const char* ub_name, const char* u_name) which as far as I can tell is out of date (type is no longer in sokol_gfx.h) and been bundled into a larger sg_shader_desc. Looks like it's the only backend still generating this type as well.
Am I missing something or does this need to be updated?
EDIT: looks like I'm slightly mistaken, I think actually this is just an issue in the forward declarations of the reflection functions in the C backend at sokolc.cc:55:
Hmm, you're right. The problem doesn't show up in the sokol-samples because those prototypes are only generated with -f sokol_impl (while the default is sokol which doesn't require prototypes because it uses static and static inline instead).
As of the latest commit (and since the "bindings cleanup" back in November?) it looks like the
sokolc.cc
reflection backend generatessg_shader_uniform_desc <module>_<program>_uniform_desc(sg_shader_stage stage, const char* ub_name, const char* u_name)
which as far as I can tell is out of date (type is no longer insokol_gfx.h
) and been bundled into a largersg_shader_desc
. Looks like it's the only backend still generating this type as well.Am I missing something or does this need to be updated?
EDIT: looks like I'm slightly mistaken, I think actually this is just an issue in the forward declarations of the reflection functions in the C backend at
sokolc.cc:55
:sokol-tools/src/shdc/generators/sokolc.cc
Line 55 in d54971a
will see what I can do about a PR to fix this.
The text was updated successfully, but these errors were encountered: