sokol icon indicating copy to clipboard operation
sokol copied to clipboard

Suggestion: Show labels in validation errors

Open comblock opened this issue 8 months ago • 2 comments

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.

comblock avatar Dec 05 '23 20:12 comblock