Branimir Karadžić
ea53e7a5ed
Metal: Fixed validation error of missing attribute from vertex stream. ( #3817 )
2026-07-08 20:10:59 +00:00
Branimir Karadžić
6425068e04
Fixed bgfx::Init default numDrawCalls/numDrawCallsPeakFrames. ( #3816 )
2026-07-08 19:21:52 +00:00
Branimir Karadžić
4e88edd7de
WebGPU/Metal: Fix sparse slot vertex stream. ( #3814 )
2026-07-06 23:02:39 -07:00
Branimir Karadžić
a62a6f008b
Fixed indexed draw indirect with dynamic/transient index buffers. ( #3813 )
2026-07-06 21:45:53 +00:00
vrimar
aa176c7763
Compare layout handle in vertex-stream rebind gate ( #3811 )
...
The gate compares (handle, startVertex) but not the layout handle, so draws
colliding on startVertex with different-stride layouts wrongly skip the rebind.
Fix hasVertexStreamChanged() and OpenGL's inline copy. Matches #2562 .
2026-07-04 14:31:07 +00:00
Branimir Karadžić
e8ad6b69d7
Fixed alignment issue. Closes #3809 . ( #3810 )
2026-07-04 04:49:00 +00:00
Branimir Karadžić
3838cccd94
D3D11: Bind pixel shader on depth-only render target. Closes #3800 . ( #3808 )
2026-07-01 22:46:01 -07:00
Branimir Karadžić
1d81176dbb
Metal: Fixed prim topology. Rebuilt shaders. ( #3805 )
2026-07-01 05:59:22 +00:00
Branimir Karadžić
63a75bc0ea
Fixed s_renderFrameCalled cleanup. ( #3804 )
2026-07-01 05:31:36 +00:00
Jason Millard
f9cbe0898c
Metal: Set input primitive topology and only add point_size when needed. ( #3803 )
2026-06-30 13:16:12 -07:00
Branimir Karadžić
f30da05ce3
Metal: Cache last pipeline. Dedup pipeline binds. ( #3799 )
2026-06-28 22:47:43 +00:00
Branimir Karadžić
fd1a8b48fc
VK: Cache last pipeline. ( #3798 )
2026-06-28 11:23:54 -07:00
Branimir Karadžić
3c7aef042a
WebGPU: Improve state tracking. ( #3797 )
2026-06-28 09:38:40 -07:00
Branimir Karadžić
ecc78ad376
WebGPU: Emscripten fixed PR #3780 . ( #3795 )
2026-06-28 00:39:55 -07:00
Branimir Karadžić
67893bcf71
Rebuilt embedded shaders. ( #3796 )
2026-06-28 00:39:44 -07:00
Branimir Karadžić
d0f3beb0f7
Fixed warnings. ( #3794 )
2026-06-28 06:15:49 +00:00
Branimir Karadžić
40aa1c2220
VK: Grow descriptor pools on demand. ( #3793 )
2026-06-28 06:14:30 +00:00
Branimir Karadžić
d1c217ae41
D3D12: grow scratch descriptor heap on demand. ( #3792 )
2026-06-28 05:46:12 +00:00
Branimir Karadžić
b3a15e8e8e
WebGPU: Dedup bind group per frame. ( #3791 )
2026-06-28 05:08:54 +00:00
Branimir Karadžić
86ad82cfe2
Reduce amount of memory used. Allow dynamic draw call buffer resizing per frame. ( #3790 )
2026-06-28 05:05:25 +00:00
Branimir Karadžić
ea0cf65d08
D3D12: ExecuteIndirect sucks on everything except maybe AMD. ( #3788 )
2026-06-26 23:00:07 -07:00
Branimir Karadžić
d6a333709d
D3D12: Fix ExecuteIndirect path. ( #3787 )
2026-06-27 04:48:01 +00:00
Branimir Karadžić
77603f3d34
28-wireframe: Built vertex pulling shaders. ( #3786 )
2026-06-26 00:28:13 -07:00
Alessandro Muntoni
682bc3ca64
add vertex pulling to example 28 ( #3785 )
2026-06-26 07:22:04 +00:00
Branimir Karadžić
481607d545
D3D12: Reduce per-draw submit cost. Add texture stress to drawstress. ( #3784 )
2026-06-26 07:16:28 +00:00
Kyle Emmerich
c9bb37b668
Vulkan: Fixed capture buffer size. ( #3783 )
...
captureSize used m_width for the row count, but the swap-chain readback
copies m_height rows (capture() reports _size = height * pitch, and
ReadbackVK::pitch() is width * bpp/8). A backbuffer taller than wide
under-allocates the readback buffer and overruns it. Use m_height, which
matches the GL backend's width*height*4.
2026-06-25 15:43:37 +00:00
Branimir Karadžić
07fcf2a577
Revert "WebGPU: enable emscripten support ( #3780 )" ( #3782 )
...
This reverts commit 6777023bfe .
2026-06-25 05:14:34 +00:00
trollyjolly
6777023bfe
WebGPU: enable emscripten support ( #3780 )
2026-06-25 05:12:27 +00:00
Branimir Karadžić
bb86d0a221
Reduce binary size when features are not used. ( #3781 )
2026-06-25 02:49:38 +00:00
Branimir Karadžić
48efdb18da
Metal: Implement timer queries. Closes #3774 . ( #3778 )
2026-06-22 00:28:50 -07:00
Branimir Karadžić
2ed5f31f6a
WebGPU: Updated Tint and WebGPU header. ( #3777 )
2026-06-22 05:55:04 +00:00
Branimir Karadžić
1e8e82b42e
WebGPU: Fixed texture conversion pitch, and mip-gen array views. ( #3776 )
2026-06-22 04:05:14 +00:00
Branimir Karadžić
ffcbac4ac0
D3D11/WebGPU: Fixed vertex pulling draw count. Guard WebGPU getPipeline stream loop. ( #3775 )
2026-06-22 03:02:03 +00:00
Branimir Karadžić
fd5fa66370
VK: Fixed present crash on resize. ( #3773 )
2026-06-20 06:44:18 -07:00
Branimir Karadžić
73629ada72
Dedup bindings per encoder. ( #3772 )
2026-06-20 05:22:12 +00:00
Branimir Karadžić
4f101d98be
Don't present BGFX_FRAME_FLUSH frames. Fixed D3D12/VK flush sync. ( #3771 )
2026-06-19 19:39:42 +00:00
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