Commit Graph

9431 Commits

Author SHA1 Message Date
Lcbx
c772ecc3f5 add python bindings generator (#3915)
* add python binding generator

* add idl generated python binding
2026-08-21 11:27:11 -07:00
puffball1567
1f0215f89d docs: add bgfxim Nim API bindings (#3913)
* docs: add bgfxim Nim API bindings

* docs: make bgfxim the default Nim binding

---------

Co-authored-by: puffball1567 <puffball1567@users.noreply.github.com>
2026-08-21 16:02:41 +00:00
Branimir Karadžić
cffee4ee96 GLES 3.2: Various fixes. (#3914) 2026-08-21 15:51:00 +00:00
Branimir Karadžić
ada201c314 GL: Fix clear of an integer render target, and several other GLES issues. (#3912) 2026-08-21 04:06:46 +00:00
Branimir Karadžić
66b560219e Metal: Fixed stencil-only framebuffer attachment. (#3911) 2026-08-21 01:15:50 +00:00
Branimir Karadžić
91b3aa3785 Fix stencil-aspect readback, depth format reporting, and blit bugs. (#3910) 2026-08-21 00:51:39 +00:00
Branimir Karadžić
8c28353267 Replaced FCPP with new preprocessor. (#3909) 2026-08-20 19:07:34 +00:00
Branimir Karadžić
4b24c1482f Fixed image declaration macros not expanding format argument. (#3908) 2026-08-20 11:13:40 -07:00
Branimir Karadžić
d8db55f812 D3D11, D3D12, GL, VK: Resolve when blitting from sampleable MSAA surface. (#3907) 2026-08-20 05:39:04 +00:00
Branimir Karadžić
7e2f4e34c0 GL: Bind missing vertex attributes to offset 0. (#3906) 2026-08-19 14:01:40 -07:00
Branimir Karadžić
fde976604c Raised minimum OpenGL version to 4.3. OpenGLES to 3.0. Removed glsl-optimizer. (#3905) 2026-08-19 10:12:25 -07:00
Branimir Karadžić
1820f47383 DXC 1.10.2605.2. (#3904) 2026-08-18 09:05:51 -07:00
Branimir Karadžić
1eb770679f WebGPU: Fixed timer query. Fixes #3902. (#3903) 2026-08-18 00:07:52 +00:00
Branimir Karadžić
d918bd0be7 Fixed 08-update texture update size, WebGPU cube slice count, Vulkan init order. (#3901) 2026-08-17 04:15:05 +00:00
Branimir Karadžić
35a98dd645 Grow per-frame storage on-demand instead statically allocating for the maximum. (#3900) 2026-08-16 17:26:25 -07:00
Branimir Karadžić
a772859619 Fixed missing texture3DLod/Grad aliases for GLSL >= 130. Fixes #3888. (#3899) 2026-08-15 16:14:10 -07:00
Branimir Karadžić
1671c5d065 VK, GL: Fixed Uint10 vertex attribute format. (#3897) 2026-08-14 23:55:55 -07:00
Branimir Karadžić
0e698a6ad2 Metal: Fixed swizzled format caps, sampler border color, headless render pass, and empty frame buffer validation. (#3896) 2026-08-14 23:41:57 -07:00
Branimir Karadžić
7a09f00333 Fixed MSAA/framebuffer, format caps, stencil, and debug name issues. (#3895) 2026-08-15 06:08:05 +00:00
Branimir Karadžić
bc70563478 Metal: Fixed pipeline state cache reusing stale uniform handles. (#3893) 2026-08-14 18:19:30 -07:00
Branimir Karadžić
419cf9c281 Metal: Fixed texture clear, image sub-range, and view dimension. (#3892) 2026-08-14 18:04:37 -07:00
Branimir Karadžić
c53bdbbadc VK: Fixed BGFX_STATE_BLEND_SRC_ALPHA_SAT using source alpha instead of the saturated factor. (#3891) 2026-08-14 17:13:21 -07:00
Branimir Karadžić
7b41f2e108 D3D12: Fixed occlusion query results never resolving until the ring buffer filled. (#3890) 2026-08-14 17:11:27 -07:00
Branimir Karadžić
faa00a1639 Fixed topologyConvert strip conversion. Fixed Uint10 vertex packing. (#3889) 2026-08-14 23:11:26 +00:00
Branimir Karadžić
b12eef18b5 Fixed clear quad not writing stencil. (#3887) 2026-08-13 18:04:54 -07:00
Branimir Karadžić
b54610b562 Rebuilt shaders. (#3886) 2026-08-13 17:10:11 -07:00
Branimir Karadžić
e3fc300358 D3D11: Restore discrete clear for backbuffer. Fixes 13-stencil/14-shadowvolumes. (#3885) 2026-08-13 16:36:02 -07:00
Branimir Karadžić
56ef37bcf8 Implemented BGFX_SAMPLER_SAMPLE_STENCIL in all backends. (#3884) 2026-08-13 15:38:58 -07:00
Branimir Karadžić
3d3b08778e Support depth-1 volume textures. (#3883) 2026-08-12 18:24:25 -07:00
Branimir Karadžić
0af3dac7bf D3D12: Filter out mismatching clear value warnings. Fixes #3879. (#3882) 2026-08-12 23:05:55 +00:00
Branimir Karadžić
e83814b122 GL: Restore texture blit and read-back fallbacks for OpenGL ES. (#3881) 2026-08-11 14:39:38 -07:00
Sam
56ecfded54 Fix: add missing memory barriers for compute writes (#3878)
* Fix: add missing memory barriers for compute writes

* Check define GL_TEXTURE_FETCH_BARRIER_BIT
2026-08-10 23:37:33 +00:00
Branimir Karadžić
9849a30930 Added improved command line handling. (#3877) 2026-08-09 01:52:55 -07:00
FlexWasTaken
cb2b1edbbe docs: add Harbi2 to README (#3876)
Added information about Harbi2 MMORPG, including its platforms and visual identity.
2026-08-06 15:56:05 +00:00
Branimir Karadžić
af4015db29 Add BGFX_CONFIG_GL_NORMALIZE_NDC_CONVENTION. (#3875) 2026-08-06 05:30:06 -07:00
Branimir Karadžić
234d7a745d D3D11: Fixed BGFX_FRAME_FLUSH not issuing queued commands. (#3874) 2026-08-05 18:25:41 -07:00
Branimir Karadžić
c0b161ef61 GL: Fixed render target MSAA on GLES 3.0 / WebGL 2. Fixes #3870. (#3873) 2026-08-06 00:01:17 +00:00
Alessandro Muntoni
d2633c6ac2 Fix vkCmdBeginRenderPass crash on unused views in headless mode (#3871)
* Fix vkCmdBeginRenderPass crash on unused views in headless mode

* add m_needPresent and m_currentFramebuffer initializers

---------

Co-authored-by: alemuntoni <alemuntoni@users.noreply.github.com>
2026-08-05 21:44:58 +00:00
Branimir Karadžić
b99e390016 Fixed blits and cached uniforms submitted at wrong view when setViewOrder is used. (#3872) 2026-08-05 21:44:21 +00:00
Branimir Karadžić
34deeda109 Metal: Fixed MSAA array render targets, BGRA8 mip autogen, and blit/resolve order. (#3868) 2026-08-01 23:07:40 -07:00
Branimir Karadžić
e75ab293cc Metal/WebGPU: Clip view scissor and render area to the framebuffer. Fixes #3864. (#3866) 2026-08-02 02:51:44 +00:00
Branimir Karadžić
47320e39a8 Added missing shaders. (#3867) 2026-08-02 02:46:30 +00:00
Branimir Karadžić
aa736d5691 VK: Fixed device memory leaks, pipeline layout lifetime, compressed blit extent, and view rect clipping. (#3865) 2026-08-02 02:42:07 +00:00
Matthew
527397d502 Atmospheric sky example v1 (#3861)
* Implemented terrain heightmap loading.

* Textured the terrain in sky2.

* Atmosphere implementation.

* Terrain lit, aerial perspective implemented.

* Shadow mapping for the terrain.

* Implemented hex-tiling.

im tired

* Cleanup

* Fixed OpenGL sampler issue.

* Brought back overridden shaders.
2026-08-02 02:29:51 +00:00
Branimir Karadžić
129248d16f GL: Fixed headless mode. (#3863) 2026-07-30 14:34:54 -07:00
Branimir Karadžić
7a38c5ce83 D3D11/D3D12/GL: Fixed blit ordering: submit blits after the previous framebuffer resolve and before the view clear. (#3862) 2026-07-30 18:15:29 +00:00
Branimir Karadžić
c7684e20da Metal: Fixed MSAA array render targets, BGRA8 mip autogen, and blit/resolve order. (#3860) 2026-07-30 05:44:28 +00:00
Branimir Karadžić
980c02ecd7 VK: Added BGFX_CONFIG_RENDERER_VULKAN_ROBUST_BUFFER_ACCESS. Fixes #3855. (#3859) 2026-07-30 04:45:54 +00:00
Branimir Karadžić
2bcd84ad46 Fixed matrix cache off-by-one usable matrices. (#3858) 2026-07-29 18:10:15 -07:00
Branimir Karadžić
8377801ee0 Add BC4S, BC5S, BC6HU, RGB10A2U and D32FS8 texture formats. (#3857) 2026-07-29 21:25:53 +00:00