Branimir Karadžić
c85fa25266
Added BGFX_FRAME_* flags to add ability to discard all draw calls. ( #3599 )
2026-02-19 01:42:31 +00:00
Branimir Karadžić
2800f17970
Cleanup. ( #3598 )
2026-02-18 21:01:18 +00:00
Martijn Courteaux
f3bc108efe
Restore Vulkan 1.0 compatibility. ( #3597 )
...
* vulkan: Do not hard-depend on Vulkan 1.2 and Vulkan 1.1.
* fix(ub): vector iterators are not the same as taking address of position.
* fix(ub): Mask bit iterator had implicit promotion bug.
* fix(ub): Vulkan backend shouldn't copy fragment shader source if there is none.
2026-02-18 20:12:49 +00:00
Branimir Karadžić
40e614c45d
Added external texture parameter. ( #3596 )
...
* Added external texture parameter.
* Use uint64_t instead of uintptr_t for external texture because VkImage is always 64-bit.
2026-02-18 20:12:37 +00:00
Quaylyn Rimer
02e04fb458
Optimize NonLocalAllocator: sorted vector + immediate coalescing ( #3593 )
...
Replace stl::list (tinystl::vector with O(n) push_front) with a sorted
stl::vector free list that maintains address-order invariant.
Key improvements:
- free(): uses bx::upperBound for O(log n) sorted insertion + immediate
adjacent-block coalescing instead of O(n) push_front with deferred merge
- compact(): O(1) check (m_used empty?) instead of O(n log n) sort +
O(n) linear merge pass on every call
- alloc(): first-fit scan over cache-friendly contiguous memory instead
of pointer-chasing through fragmented list
- add(): sorted insert with coalescing via bx::upperBound, same as free()
Uses bx::upperBound from the bx foundation library for binary search,
no std:: usage. Added operator> to Free struct for bx::compareAscending
compatibility.
The public API and behavioral semantics are unchanged. All existing
callers (dynamic index/vertex buffer allocators, uniform cache store
allocator) continue to work identically.
2026-02-17 19:27:10 +00:00
Martijn Courteaux
611baeb183
Fix iterator ( #3590 )
...
* Fix iterator
* Enters.
2026-02-12 18:12:43 +00:00
Branimir Karadžić
4ab38c657a
Updated version. ( #3587 )
2026-02-08 01:46:54 +00:00
Branimir Karadžić
90d61887ac
D3D11: Renamed dx11 to dxbc. ( #3586 )
2026-02-08 01:45:18 +00:00
Branimir Karadžić
011ede6b42
shaderc: HLSL/DXBC needs unorm float image load/store. ( #3576 )
2026-02-03 00:39:35 +00:00
Branimir Karadžić
4942e65bf9
shaderc: select (u)int variants are just for higher versions of GLSL. ( #3575 )
2026-02-02 22:32:11 +00:00
Branimir Karadžić
6f169c1fde
shaderc: Add select. ( #3572 )
2026-01-31 04:28:40 +00:00
Daniele Bartolini
601111d505
Do not load RenderDoc on Wayland ( #3570 )
...
* Do not load RenderDoc on Wayland
* Update debug_renderdoc.cpp
---------
Co-authored-by: Branimir Karadžić <branimirkaradzic@gmail.com >
2026-01-31 00:56:29 +00:00
Бранимир Караџић
784f5a433a
Updated version.
2026-01-30 16:56:16 -08:00
Martijn Courteaux
85d0b7ad3f
Switch to BGRA8 as the default swapchain format. ( #3569 )
2026-01-30 18:58:02 +00:00
Branimir Karadžić
c37ba1db0f
Updated version, regenerated bindings. ( #3568 )
2026-01-30 17:05:25 +00:00
Branimir Karadžić
78c3a1f421
Cleanup. ( #3566 )
2026-01-29 05:45:14 +00:00
Branimir Karadžić
c57d1d6135
Fixed #3552 . ( #3565 )
2026-01-28 21:48:35 +00:00
Seremo
c5387cfec2
DX11/DX12: Fix detecting depth capabilities for BGFX_CAPS_FORMAT_TEXTURE_MSAA ( #3562 )
2026-01-22 18:34:12 +00:00
Branimir Karadžić
fa852ad431
WebGPU: Use zero init to simplify struct init. ( #3561 )
2026-01-22 07:09:40 +00:00
Branimir Karadžić
f4b6bc79e2
D3D12: Fixed texture update crash. ( #3560 )
2026-01-21 20:31:19 +00:00
Branimir Karadžić
6d8e61b16a
D3D11: Fixed shaderc. ( #3559 )
2026-01-20 06:06:05 +00:00
Branimir Karadžić
33541e4bab
D3D12: Added DXIL support. ( #3558 )
...
* Added DXIL support.
* Fixed Linux build.
* Fixed mingw build.
* Fixed build.
2026-01-20 01:43:31 +00:00
Branimir Karadžić
9ca7782405
WebGPU: Expect release after destroy. ( #3557 )
2026-01-19 19:30:11 +00:00
Branimir Karadžić
780ef58e97
VK: Fixed VRS feature detection. Issue #3549 . ( #3555 )
2026-01-18 16:26:03 +00:00
Branimir Karadžić
717475d615
Various WebGPU fixes based on feedback. ( #3554 )
...
* Unset BGFX_CAPS_VERTEX_ATTRIB_UINT10. Remove MSAA 2x.
* Use destroy instead of release for buffers, textures, and querysets.
* Disable robustness, lazy clear resources in release builds.
* No need to pass entry point when there is only one entry point.
2026-01-16 19:29:31 +00:00
Vincent Bousquet
0d7526dfb9
Fix DX11 screenshot color format ( #3551 )
2026-01-14 22:29:26 +00:00
Branimir Karadžić
4baed6e076
Happy New Year! ( #3550 )
2026-01-14 16:26:51 +00:00
Seremo
4f80d5f4ac
d3d11: Fix UAV cache to handle texture arrays correctly ( #3548 )
2026-01-11 16:19:12 +00:00
Branimir Karadžić
cded7e8d6c
Fixed amalgamated build. ( #3546 )
2026-01-10 17:39:37 +00:00
Branimir Karadžić
79cc62a7ee
Updated version ( #3545 )
2026-01-10 04:20:29 +00:00
Branimir Karadžić
868c66e1ed
Added WebGPU. ( #3544 )
2026-01-10 04:09:39 +00:00
Branimir Karadžić
967f7629b6
Added WGSL shaders. ( #3543 )
2026-01-10 03:31:01 +00:00
Branimir Karadžić
1c08bab55a
shaderc: Add WGSL support. ( #3542 )
2026-01-10 02:41:05 +00:00
attilaz
b0d32c079e
Fix for PowerVR Rogue GE8320 random flickering polygons ( #3539 )
2026-01-09 09:31:09 -08:00
Branimir Karadžić
aa94189553
shaderc: Removed instMul. ( #3536 )
2026-01-09 06:40:56 +00:00
Branimir Karadžić
d9d99f51ad
D3D12: Added pipeline stats. ( #3534 )
2026-01-07 04:44:12 +00:00
Branimir Karadžić
ae944eea43
Fixed MSAA texture validation. ( #3529 )
2025-12-31 22:30:19 +00:00
Branimir Karadžić
6417e642ef
Updated docs. ( #3528 )
2025-12-31 19:16:26 +00:00
Бранимир Караџић
d19f3a5222
Validate that texutre supports MSAA.
2025-12-28 18:26:47 -08:00
Бранимир Караџић
23653f2918
Fixed PIX colors.
2025-12-26 21:38:57 -08:00
Бранимир Караџић
67b4d14376
Rebuilt HLSL shaders.
2025-12-26 00:23:54 -08:00
Branimir Karadžić
241e9c3330
Added Init.fallback option. Cleanup. ( #3522 )
2025-12-24 04:29:32 +00:00
Branimir Karadžić
9d63c39a44
Rebuilt shaders. ( #3520 )
2025-12-23 04:53:36 +00:00
Бранимир Караџић
71601c6be3
Set BGFX_CONFIG_MAX_BONES to 1.
2025-12-22 20:43:44 -08:00
Бранимир Караџић
56eb016280
Fixed bgfx::discard to not reset uniforms to begining of buffer.
2025-12-21 23:46:29 -08:00
Бранимир Караџић
105fd8cdf1
Cleanup.
2025-12-14 21:59:26 -08:00
Branimir Karadžić
23410d248c
Fixed build.a ( #3513 )
2025-12-13 20:46:12 +00:00
attilaz
8a60697cfd
Metal: Fixed 3d texture create ( #3507 )
2025-11-24 14:58:53 +00:00
Branimir Karadžić
09ad5b2340
Don't truncate view id for uniform cache. ( #3505 )
2025-11-24 00:42:06 +00:00
Branimir Karadžić
d396404fd3
Added Superluminal Profiler support. ( #3504 )
2025-11-21 19:08:12 +00:00