From 18c9c063cdbed3d62e9f0e5fb7ec67b43ce5c869 Mon Sep 17 00:00:00 2001 From: Andre Weissflog Date: Wed, 19 Jun 2024 19:44:45 +0200 Subject: [PATCH] update readme and changelog --- CHANGELOG.md | 14 ++++++++++++++ README.md | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c16f4437e..105b2587a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ ## Updates +### 19-Jun-2024 + +Bugfix in the sokol_gfx.h D3D11 backend: calling `sg_update_image()` for a +small-ish 3D texture didn't take the 'depth pitch' into account which then +caused invalid texture content. This happened at a specific size cutoff which +is CPU specific (on my laptop with integrated Intel GPU only for textures +smaller than 32x32xN). + +Related ticket: https://github.com/floooh/sokol/issues/1066 +...and PR: https://github.com/floooh/sokol/pull/1065 + +I also wrote a new sample for investigating the issue and to protect from +future regressions: https://floooh.github.io/sokol-html5/dyntex3d-sapp.html + ### 01-Jun-2024 sokol_imgui.h is now officially supported in the [sokol-zig bindings](https://github.com/floooh/sokol-zig). diff --git a/README.md b/README.md index 58144b3d7..dcceedc6d 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ # Sokol -[**See what's new**](https://github.com/floooh/sokol/blob/master/CHANGELOG.md) (**09-May-2024**: **BREAKING CHANGES** 'storage buffer support' in sokol_gfx.h +[**See what's new**](https://github.com/floooh/sokol/blob/master/CHANGELOG.md) (**19-Jun-2024**: bugfix in the sokol_gfx.h d3d11 backend when updating 3d textures [![Build](/../../actions/workflows/main.yml/badge.svg)](/../../actions/workflows/main.yml) [![Bindings](/../../actions/workflows/gen_bindings.yml/badge.svg)](/../../actions/workflows/gen_bindings.yml) [![build](https://github.com/floooh/sokol-zig/actions/workflows/main.yml/badge.svg)](https://github.com/floooh/sokol-zig/actions/workflows/main.yml) [![build](https://github.com/floooh/sokol-nim/actions/workflows/main.yml/badge.svg)](https://github.com/floooh/sokol-nim/actions/workflows/main.yml) [![Odin](https://github.com/floooh/sokol-odin/actions/workflows/main.yml/badge.svg)](https://github.com/floooh/sokol-odin/actions/workflows/main.yml)[![Rust](https://github.com/floooh/sokol-rust/actions/workflows/main.yml/badge.svg)](https://github.com/floooh/sokol-rust/actions/workflows/main.yml)[![Dlang](https://github.com/kassane/sokol-d/actions/workflows/build.yml/badge.svg)](https://github.com/kassane/sokol-d/actions/workflows/build.yml)