From 7cce5fb12d2c285d33f81c287b521d99b7425bca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1=20Mlakar?= Date: Fri, 11 Jul 2025 09:34:29 +0200 Subject: [PATCH] Beef bindings int as int32 (#3415) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Updated README (with World Of Goo 2). * Updated README (with World Of Goo 2). * Updated cgltf. * Updated meshoptimizer. * Updated ImGui. * Updated glslang. * Updated spirv-headers. * Updated spirv-tools. * Updated spirv-cross. * Updated Vulkan headers. * Fix a crash in renderer_d3d12.cpp (#3349) If querying the debug1 interface fails, don't attempt to release it. * D bindings: Fix a casing error (#3350) * Fix error in dynamic version of D bindings Dazed and confused but trying to continue * Fix dispatch_indirect still using uint16_t in bgfx.idl * D bindings: Mark enum conv. functions `nothrow @nogc pure @safe` * D bindings: Fix a casing error * fix typo (scrach -> scratch) (#3353) * Imgui: Add ability to link external STB libs. * Revert "Updated spirv-tools." This reverts commit 7cda7c988f8c51950470647db18a414dc26fbc74. * Rebuilt spir-v shaders. * Properly support Wayland under EGL and Vulkan. (#3358) * Improve NX Vulkan support. (#3357) This change was developed using publicly available information found in Vulkan headers and official documentation. No proprietary NX resources were used. Co-authored-by: Бранимир Караџић * Dynamically load libwayland-egl.so.1 when dealing with Wayland to remove dependencies at program startup. (#3359) * Cleanup. * Cleanup. * Support both X11 and Wayland in the same build. (#3360) * Support both X11 and Wayland in the same build. - Works for both Vulkan and OpenGL. - Remove --with-wayland from genie options. - Vulkan loads all three extensions for surface creation instead of only one. - Add width and height parameter to GlContext::createSwapChain(), which is needed for EGL to create a SwapChain with the given window size. - Dirty-fix the example-22-windows to recreate the FrameBuffer by first destroying and then recreating to make sure the window is released of its swapchain. - Fix dbgText glitch in example-22-windows. - Remove old X11-related dependencies for GLFW3. * Formatting. * Build documentation improvements (#3362) * Some documentation improvements: extra info on using GENie. * Some grammer. * Bump minimum GLFW version to 3.4. * Insert vkDeviceWaitIdle to prevent VK_DEVICE_LOST. (#3363) * Cleanup. * Updated version. * Updated meshoptimizer. * Updated glslang. * Updated spirv-headers. * Updated spirv-tools. * Updated spirv-cross. * Updated Vulkan headers. * Cleanup. * Updated ImGui. * shaderc: Fixed build. * wasm: Fixed build. * Cleanup. * Fixed clang-debug target trying to build with gcc. (#3368) Co-authored-by: -- <--> * Fix compiling entry_noop (#3369) * Updated GHA containers. * Use DXGI_SWAP_CHAIN_DESC1 if available for additional scaling options. (#3370) * Fix: Fix Uniform buffer doing too many iterations when updating renderer uniforms (#3372) * Fixed IDL, added C++ IDL template. * Updated version. * Cleanup. * Silent clang warnings. * Updated README.md, fix typo(s) (#3376) * Disable mingw-clang due broken winnt.h header. * Fix various typos (#3377) Found via `codespell -q 3 -S "./3rdparty,*.ttf,*.bin,./examples/common/imgui,./examples/common/font" -L attribut,ba,clude,conly,constan,espace,hashin,indext,inout,lod,nclude,retur,ser,sroll,struc,te,truct,unknwn,usin,utput,varyin` * Assert on OOM. * Fix Vulkan swapchain invalidation issue. (#3379) * Fix Vulkan swapchain invalidation issue. * Always clamp render pass to frame buffer size. * Fix formatting. * Cleanup. * shaderc: Show correct error line. * Cleanup. * Format files to remove trailing spaces (#3384) * Updated bindings. * Updated docs. * Cleanup. * Cleanup. * Fixed MSVC warnings. * Removing alloca compat include. * Fixed build. * Fixed warning. * Updated ImGui. * Updated cgltf. * Updated meshoptimizer. * Updated glslang. * Updated spirv-headers. * Updated spirv-tools. * Updated spirv-cross. * Updated version. * Revert "Fix: Fix Uniform buffer doing too many iterations when updating rende…" (#3391) This reverts commit 4bc652939ff400e424e17185d23b229a37d269e1. * Happy New Year! * Update README.md (#3394) Added Off The Road 2 * Fix #3344 (#3399) * Fix UniformBuffer UB regarding UniformType::Enum with extra bits. (#3398) * Fix only one frame rendered in mobile opengles with intermediate frame buffer (#3405) * Another fix for crashing with VK_DEVICE_LOST (#3404) * Fix wasm tinystl compile error (#3406) * utilize bx::strLen instead of C function * utilize bx::strCopy instead of C function * Updated ImGui. * Updated meshoptimizer. * Updated cgltf. * Updated glslang. * Updated spirv-headers. * Updated spirv-tools. * Updated spirv-cross. * mini-fix: update docs config for doxygen (#3411) * Remove STB nonsense todo assert. * docs: clarify Android API version requirement in README (#3414) Change Android version notation from "14+" to "4.0+ (API 14 or later)" for better clarity among Android developers * Fixed C++20 deprecated lambda capture. * Updated cgltf. * Updated meshoptimizer. * Updated glslang. * Updated spirv-headers. * Updated spirv-tools. * Updated spirv-cross. * Rebuilt metal & spir-v shaders. * Add a file formatting script (#3383) * Updated version. * Beef bindings: Fix int32_t as int32 --------- Co-authored-by: Aleš Mlakar Co-authored-by: Бранимир Караџић Co-authored-by: Daniel Kalmar <1355747+kalmard0@users.noreply.github.com> Co-authored-by: IchorDev <15670465+ichordev@users.noreply.github.com> Co-authored-by: James Fulop <40307536+jamesfAnet@users.noreply.github.com> Co-authored-by: Martijn Courteaux Co-authored-by: imaginaryPineapple Co-authored-by: Raziel Alphadios <64050682+RazielXYZ@users.noreply.github.com> Co-authored-by: Matt Tytel Co-authored-by: Nuno Silva Co-authored-by: Bob Conan Co-authored-by: luzpaz Co-authored-by: Aaron Franke Co-authored-by: attilaz Co-authored-by: nathanstouffer Co-authored-by: Kevin J. Co-authored-by: Dipendra Sharma <17643682+dipendra-sharma@users.noreply.github.com> --- scripts/bindings-bf.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/bindings-bf.lua b/scripts/bindings-bf.lua index 00bff8602..981d06e83 100644 --- a/scripts/bindings-bf.lua +++ b/scripts/bindings-bf.lua @@ -55,7 +55,7 @@ local function convert_type_0(arg) elseif hasPrefix(arg.ctype, "uint32_t") then return arg.ctype:gsub("uint32_t", "uint32") elseif hasPrefix(arg.ctype, "int32_t") then - return arg.ctype:gsub("int32_t", "int") + return arg.ctype:gsub("int32_t", "int32") elseif hasPrefix(arg.ctype, "uint16_t") then return arg.ctype:gsub("uint16_t", "uint16") elseif hasPrefix(arg.ctype, "uint8_t") then