sokol
sokol copied to clipboard
Suggestion: Show labels in validation errors
Currently the validation errors don't show any labels (or at least, I haven't seen any appear), I think showing the labels would be incredibly helpful for debugging and I don't see any good reason not to. Right now you might get a message like this:
[sg][error][id:240] libs/sokol/sokol_gfx.h:16295:0:
VALIDATE_ABND_FS_EXPECTED_SAMPLER_BINDING: sg_apply_bindings: sampler binding on fragment stage is missing or the sampler handle is invalid
meaning you first have to figure out which binding is causing the error.