Skip to content

Commit

Permalink
Merge pull request #1155 from floooh/bind_msaa_images
Browse files Browse the repository at this point in the history
sokol_gfx.h: allow multisampled images as resource bindings
  • Loading branch information
floooh authored Nov 19, 2024
2 parents 2c6fc74 + 6909c46 commit 30a1eb0
Show file tree
Hide file tree
Showing 3 changed files with 146 additions and 58 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
## Updates

### 19-Nov-2024

- Merged PR https://github.com/floooh/sokol/pull/1155, this allows to use
MSAA textures as resource bindings to load individual MSAA samples in
shaders. This is an optional feature and isn't supported on the following
platform/backend combos:

- macOS+GL
- iOS+GLES3
- WebGL2
- Android

You can also check the new feature flag `sg_features.msaa_image_bindings`
for support at runtime.

There's also a new sample https://floooh.github.io/sokol-webgpu/customresolve-sapp.html
which demonstrates how to access multisampled textures and the MSAA coverage mask
(requires a browser with WebGPU support).

### 13-Nov-2024

- sokol_nuklear.h: merge PR https://github.com/floooh/sokol/pull/1150, this allows to connect the
Expand Down
Loading

0 comments on commit 30a1eb0

Please sign in to comment.