Commit Graph

9310 Commits

Author SHA1 Message Date
Branimir Karadžić
09eaac37ae VK: Added descriptor set cache. (#3770) 2026-06-19 18:21:52 +00:00
Branimir Karadžić
853173eb7c D3D12: Re-derive heap properties per device. Fixes adapter switch. (#3769) 2026-06-19 07:12:01 +00:00
Branimir Karadžić
116e155660 shader makefile: Don't rebuild twice. (#3768) 2026-06-19 06:29:15 +00:00
Branimir Karadžić
4e6c5a0f3a 21-deferred: Fixed validation error. (#3767) 2026-06-19 06:11:17 +00:00
Branimir Karadžić
a0959eaf39 Do not set default BGFX_RESOLVE_AUTO_GEN_MIPS to depth textures. (#3766) 2026-06-17 16:39:33 +00:00
Francis De Brabandere
1d8f6d8ee9 Vulkan: do not block acquiring window swap chain images (#3752)
Acquiring waited forever for an image on every swap chain from the one
submit thread, so a single swap chain that is no longer served (e.g. a
fully occluded window on a Wayland compositor without fifo-v1, which
stops releasing buffers) stalled rendering of all windows. Window swap
chains now acquire without blocking and are skipped for the frame when
no image is available; only the main back buffer may block, as that is
the frame pacing. Image availability acts as natural back pressure, no
compositor specific behavior is needed.
2026-06-17 14:05:02 +00:00
Branimir Karadžić
d2f7ecf352 Metal: Fixed 36-sky shaders. (#3765) 2026-06-17 04:46:03 +00:00
Branimir Karadžić
2f8d0d5f7e Validate depth attachments don't use BGFX_RESOLVE_AUTO_GEN_MIPS. Closes #2862. (#3764) 2026-06-16 21:26:46 -07:00
Francis De Brabandere
edbec2f2cc Vulkan: recreate window swap chains flagged for recreation (#3751)
When acquiring a window frame buffer swap chain returns
VK_SUBOPTIMAL_KHR or VK_ERROR_OUT_OF_DATE_KHR it is flagged with
m_needToRecreateSwapchain and acquire then refuses forever: only the
main back buffer is recreated (by updateResolution), so the window
permanently stops updating (easily triggered by moving the window to a
display with a different scale). Recreate flagged window swap chains
when acquiring them.
2026-06-17 03:56:24 +00:00
Branimir Karadžić
ba2177ac1d Fixed OOB stream access on setVertexCount draw. Closes #3762. (#3763) 2026-06-16 16:15:08 +00:00
Branimir Karadžić
f671eb83bf Removed bgfx/platform.h (#3761) 2026-06-16 04:10:12 +00:00
Branimir Karadžić
befae614da Fix amalgamated build. (#3760) 2026-06-15 17:13:38 +00:00
Branimir Karadžić
15ef88c43a Metal: Fixed gl_VertexID draw. Closes #3007. (#3759) 2026-06-14 19:02:01 +00:00
Бранимир Караџић
3f0833c176 Updated Vulkan headers. 2026-06-14 09:25:50 -07:00
Бранимир Караџић
affc050e21 Updated spirv-cross. 2026-06-14 09:25:50 -07:00
Бранимир Караџић
1473b05e5e Updated spirv-tools. 2026-06-14 09:25:50 -07:00
Бранимир Караџић
f44f23eb08 Updated spirv-headers. 2026-06-14 09:25:50 -07:00
Бранимир Караџић
543a297f95 Updated glslang. 2026-06-14 09:25:50 -07:00
Branimir Karadžić
4f1930a87b Fixed bad merge. (#3757) 2026-06-13 23:59:30 -07:00
Branimir Karadžić
d5ea625272 Added video decoder support. (#3756) 2026-06-14 06:49:15 +00:00
Branimir Karadžić
9c2014f832 Use bimg::getSupportedExt to filter supported formats. (#3755) 2026-06-13 20:29:15 -07:00
Branimir Karadžić
e3bf3206b9 14-shadowvolumes: Use transient instead of static buffers. (#3753) 2026-06-13 06:30:28 +00:00
Branimir Karadžić
5abee1a283 Update metal-cpp header (metal-cpp for macOS27, iOS27). (#3749) 2026-06-10 17:28:11 +00:00
Branimir Karadžić
ac4da6369a Metal: Don't acquire backbuffer drawable on empty frames. (#3748) 2026-06-09 20:27:44 -07:00
Branimir Karadžić
1dac10c2ad Fixed transcoded texture update using wrong decode/copy pitch with explicit source pitch. (#3747) 2026-06-08 23:02:33 -07:00
Branimir Karadžić
24c37e6eca Fixed debugdraw drawFrustum near plane under non-homogeneous NDC. Closes #1299. (#3746) 2026-06-08 22:38:02 -07:00
Branimir Karadžić
bd0137f3fb Asserted vertex layout override stride matches buffer stride. Closes #2762. (#3745) 2026-06-08 22:06:29 -07:00
Branimir Karadžić
f19f599cde D3D11/D3D12/VK: Fixed partial update of transcoded texture overrunning buffer. Closes #2713. (#3744) 2026-06-08 21:52:24 -07:00
Branimir Karadžić
48181761e1 D3D12: LRU-recycle sampler descriptor blocks to fix heap exhaustion crash. Closes #3093. (#3743) 2026-06-08 21:31:31 -07:00
Branimir Karadžić
ddfc707b4e D3D11: Re-implement RGBA4/RGB5A1/R5G6B5 swizzle in TextureD3D11::update. Closes #2953. (#3742) 2026-06-08 21:07:05 -07:00
Branimir Karadžić
8e68f79eeb Fixed blit crash with BackbufferRatio textures after window resize. Closes #3134. (#3741) 2026-06-08 20:49:50 -07:00
Branimir Karadžić
48edba7c10 D3D11: Clear stale CS shader resource binding when slot is used as UAV. Closes #3450. (#3740) 2026-06-08 20:35:12 -07:00
Branimir Karadžić
5ce8af5d4f GL: Fix texture format conversion in TextureGL::update. Closes #2956. (#3738) 2026-06-07 09:29:29 -07:00
Branimir Karadžić
e92490c3f7 Added _layer parameter to bgfx::readTexture for texture array/cubemap readback. Closes #3235. (#3737) 2026-06-07 09:22:37 -07:00
Branimir Karadžić
944ccff1e4 D3D11/D3D12/VK/WebGPU: Fixed independent blend _rgba. (#3736) 2026-06-07 08:37:37 -07:00
Branimir Karadžić
04fb4b0780 Metal: Fix readTexture/requestScreenShot freeze. (#3735) 2026-06-06 23:38:38 -07:00
Branimir Karadžić
ac6aa47b41 Metal/WebGPU: clearQuad — don't enable stencil ops when FB has no stencil. Closes #3310. (#3733) 2026-06-07 05:59:27 +00:00
Branimir Karadžić
9dc9749b53 Metal: Skip nextDrawable for occluded windows. Fixes #3601. (#3732) 2026-06-07 04:07:47 +00:00
Branimir Karadžić
2962f60576 GL, Metal: Honor stream vertex layout override when computing auto vertex count. Follow up to PR #3250. (#3731) 2026-06-06 20:51:45 -07:00
falia18
34fa33c40b D3D12: fix D3D12_VERTEX_BUFFER_VIEW stride when both vertex layout handles are valid (#3250) 2026-06-06 20:39:08 -07:00
Branimir Karadžić
81b63b81c9 Unified ChunkedScratchBuffer implementation. (#3730) 2026-06-07 03:29:09 +00:00
Branimir Karadžić
91805892e9 Unified StateCache implementation. (#3729) 2026-06-06 18:19:56 -07:00
Branimir Karadžić
11151de78d Added setTexture view API. (#3728) 2026-06-06 17:34:02 +00:00
Branimir Karadžić
69615a9a51 Fixed shaderc infinite loop on varying.def missing ';' + handle line comments. (#3727) 2026-06-06 05:29:00 +00:00
Branimir Karadžić
6e0d61bf30 Added star history Global Rank. (#3726) 2026-06-02 17:28:17 +00:00
Branimir Karadžić
5a1b2bbc9e Metal: Fix null deref in render encoder and processArguments. (#3725) 2026-06-02 17:20:57 +00:00
Branimir Karadžić
b0f61277f5 D3D12/WebGPU: Support cubemap/2d-array auto mip generation. Issue #3441. (#3724) 2026-06-02 05:40:36 +00:00
Branimir Karadžić
7b8927049a Fix updateTexture2D pitch handling for compressed textures. Fixed #3705. (#3722) 2026-06-02 04:22:46 +00:00
Jaziel Guerrero
0d4141d03a Updated C3 binding script to generate C3 binding based on C3 v0.8.0 (#3720) 2026-05-28 20:38:35 -07:00
Branimir Karadžić
5f85da1e59 Added .ktx2 support. (#3721) 2026-05-28 20:38:10 -07:00