Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
GH Action committed Mar 30, 2024
1 parent c64ece0 commit 35ef93f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sokol/c/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 35ef93f

Please sign in to comment.