aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2026-01-26 15:56:50 +0100
committerGitHub <noreply@github.com>2026-01-26 15:56:50 +0100
commitdef6cc54b553b5c929840aaebba1611efcc7a65b (patch)
tree60b477a7f71bee7c809388fff84d49574036dfa2 /CHANGELOG.md
parentbb551ededd63794e96314303558679931ed41beb (diff)
Dual-source-blending (#1426)
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9f5c9f1d..df88a5ce 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,30 @@
## Updates
+### 26-Jan-2026
+
+- sokol_gfx.h: added support for dual-source-blending behind a new
+ feature flag `sg_query_features().dual_source_blending`:
+ - GL: available since 3.3
+ - GLES3/WebGL2: generally not available
+ - D3D11/Metal: generally available
+ - WebGPU: dynamic availability via `WGPUFeatureName_DualSourceBlending`
+ - experimental Vulkan backend: currently required (initialization will
+ fail when the `dualSrcBlend` feature is not available)
+
+ Trying to use dual-source blend-factors when `sg_features.dual_source_blending`
+ is false will result in a validation layer error in debug mode and 'undefined
+ behaviour' in release mode.
+
+ Note that currently there is no sokol-sample which tests/demonstrates
+ dual-source-blending. The plan here is to replace the `blend-sapp` and
+ `blend-op-sapp` samples with a new sample which has a Dear ImGui UI to control
+ all blending features.
+
+ Many thanks to @Tremus for the original PR to kick things off!
+
+ Original PR: https://github.com/floooh/sokol/pull/1423
+ Final PR (making the feature dynamic): https://github.com/floooh/sokol/pull/1426
+
### 24-Jan-2026
- sokol_app.h/sokol_gfx.h vk: object debug labels are now working in the experimental