Skip to content

Commit

Permalink
sokol_gfx.h: fix a comment typo
Browse files Browse the repository at this point in the history
  • Loading branch information
floooh committed Mar 30, 2024
1 parent 95a976f commit 7f7cd64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sokol_gfx.h
Original file line number Diff line number Diff line change
Expand Up @@ -1851,7 +1851,7 @@ typedef enum sg_image_type {
is compatible with what the shader expects. Apart from the sokol-gfx
validation layer, WebGPU is the only backend API which actually requires
matching texture and sampler type to be provided upfront for validation
(after 3D APIs treat texture/sampler type mismatches as undefined behaviour).
(other 3D APIs treat texture/sampler type mismatches as undefined behaviour).

NOTE that the following texture pixel formats require the use
of SG_IMAGESAMPLETYPE_UNFILTERABLE_FLOAT, combined with a sampler
Expand Down

0 comments on commit 7f7cd64

Please sign in to comment.