diff options
| author | Andre Weissflog <floooh@gmail.com> | 2025-04-05 16:24:19 +0200 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2025-04-05 16:24:19 +0200 |
| commit | 2841efa0808e4870bf7df79e6a3c4b36d3aa4e97 (patch) | |
| tree | 2f25aef200c4549e0267cfb1ea3c6665f6b79e13 | |
| parent | ddecf37f30f45bb10785b028575a6ef60565d97b (diff) | |
update changelog (https://github.com/floooh/sokol/issues/1242)
| -rw-r--r-- | CHANGELOG.md | 44 |
1 files changed, 25 insertions, 19 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index cbda8d4c..dd28cd0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,27 +2,33 @@ ### 05-Apr-2025 -Compute shaders are now supported on platforms that support GLES3.1 +- Compute shaders are now supported on platforms that support GLES3.1 (e.g. Android and desktop Linux, but not WebGL2 or iOS): -- sokol_app.h: - - `sapp_desc.gl_major/minor_version` is now taken into account for GLES context - creation on platforms that support more recent GLES3 contexts than GLES3.0 - (Android and desktop Linux) - - the functions `sapp_gl_get_major_version()` and `sapp_gl_get_minor_version()` - now return the requested GL context version also in 'GLES3 mode' - - a new function `sapp_gl_is_gles()` has been added which returns true in 'GLES3 mode' - - on Android and desktop-Linux in GLES3 mode, a GLES3.1 context will now be - created by default -- sokol_gfx.h: - - the SOKOL_GLES3 code path now dynamically queries the GLES3 context version - to check for storage-buffer and compute-shader support (e.g. >= GLES3.1) - -Note that to get compute shader support on GLES3.1 capable platforms you'll also -need to pass in matching GLSL shaders, e.g. with sokol-shdc, use the `glsl310es` -output shader language instead of `glsl300es`. - -For details see PR https://github.com/floooh/sokol/pull/1241 + - sokol_app.h: + - `sapp_desc.gl_major/minor_version` is now taken into account for GLES context + creation on platforms that support more recent GLES3 contexts than GLES3.0 + (Android and desktop Linux) + - the functions `sapp_gl_get_major_version()` and `sapp_gl_get_minor_version()` + now return the requested GL context version also in 'GLES3 mode' + - a new function `sapp_gl_is_gles()` has been added which returns true in 'GLES3 mode' + - on Android and desktop-Linux in GLES3 mode, a GLES3.1 context will now be + created by default + - sokol_gfx.h: + - the SOKOL_GLES3 code path now dynamically queries the GLES3 context version + to check for storage-buffer and compute-shader support (e.g. >= GLES3.1) + + Note that to get compute shader support on GLES3.1 capable platforms you'll also + need to pass in matching GLSL shaders, e.g. with sokol-shdc, use the `glsl310es` + output shader language instead of `glsl300es`. + + For details see PR https://github.com/floooh/sokol/pull/1241 + +- sokol_audio.h Android: the OpenSLES backend has been removed (the Android NDK has +started to throw deprecation errors when switching to a more recent target platform version, +so not much point in supporting SLES anymore). + + PR: https://github.com/floooh/sokol/pull/1243 ### 04-Apr-2025 |