Sam
e693f8f72d
GL: fix data-less compressed texture arrays and stale m_immutableStorage on handle reuse ( #3992 )
2026-09-19 12:41:29 -07:00
Branimir Karadžić
1512f4d961
WebGL: EAC texture formats have no sRGB variant. ( #3988 )
2026-09-17 21:23:01 -07:00
U U U
d6890aa5c2
WebGL: Enabled EAC texture formats via WEBGL_compressed_texture_etc extension. ( #3980 )
...
EACR11/EACR11S/EACRG11/EACRG11S fell through to the default case, so on
WebGL the extension was never enabled and EAC textures silently failed
to load. Follow-up to #3487 .
2026-09-17 21:07:22 -07:00
Branimir Karadžić
ca8e4528a2
GL: Fixed main back buffer sRGB state with MSAA. ( #3987 )
2026-09-17 21:04:27 -07:00
vrimar
3ca5a63428
Recreate the main swap chain when only its flags change on reset. ( #3986 )
...
Context::reset moves the per-surface flags (MSAA, sRGB, HiDPI) off the reset flags onto SwapChain::flags, but every backend's updateResolution gate still compared only the stripped reset flags, so a runtime MSAA change was dropped.
(cherry picked from commit 1ffb270f91a63403c069fcf652bd2411d962b437)
2026-09-18 01:05:41 +00:00
Branimir Karadžić
ee7f9f66e2
Fixed EGL headless bootstrap. D3D12: fixed explicit swap chain MSAA state. GL: Cleared and blitted texture slices. ( #3981 )
2026-09-15 05:56:24 +00:00
Branimir Karadžić
bd85653546
Added cube array samplers. ( #3979 )
2026-09-14 00:54:40 +00:00
Branimir Karadžić
8ee74e8260
Optimized encoder bind state, and uniform updates. ( #3976 )
2026-09-12 22:43:02 +00:00
Branimir Karadžić
7e8bb589f1
Added setUniformRef, BGFX_TEXTURE_SRGB_MUTABLE, and byte-range compute buffer bindings. ( #3974 )
2026-09-12 06:49:53 +00:00
Branimir Karadžić
2e51cb6aa9
Added depth control, sample mask, and read-only depth/stencil attachments. ( #3971 )
2026-09-11 05:22:53 +00:00
Branimir Karadžić
9b636df330
GL: Don't toggle primitive restart on WebGL. Fixes #3967 . ( #3969 )
2026-09-07 20:58:25 +00:00
Branimir Karadžić
7293e6f75b
D3D11, D3D12: swap chain, clear and subresource state fixes. GL: debug group must be pushed and popped on the same context. ( #3965 )
2026-09-06 00:49:55 +00:00
Branimir Karadžić
8c8b6b5692
Raised renderer baseline, and removed caps every backend now supports. ( #3962 )
2026-09-05 05:24:56 +00:00
Branimir Karadžić
01dbbbc08c
Added swap-chain. ( #3959 )
2026-09-05 01:44:33 +00:00
Бранимир Караџић
340ef142c3
Enable primitive restart for strip topologies.
2026-09-01 23:47:00 +00:00
Branimir Karadžić
0432b5d3c5
Reworked blit to use regions, added buffer blit and read buffer. ( #3924 )
2026-08-25 03:31:09 +00:00
Branimir Karadžić
780f7bf00a
Fix MSAA blit into a multisampled destination and stale MSAA resolve. ( #3921 )
2026-08-23 04:44:43 +00:00
Branimir Karadžić
dd961560d5
Raw buffers ( #3920 )
...
* Added raw compute buffers, resource type/dimension now comes from shader reflection. Bumped shader version to 12.
* Rebuild internal embedded shaders.
* Updated bindings.
* Rebuild embedded shaders.
* Rebuilt shaders.
* Updated bindings.
2026-08-22 20:03:12 -07: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ć
91b3aa3785
Fix stencil-aspect readback, depth format reporting, and blit bugs. ( #3910 )
2026-08-21 00:51:39 +00: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ć
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ć
1671c5d065
VK, GL: Fixed Uint10 vertex attribute format. ( #3897 )
2026-08-14 23:55:55 -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ć
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ć
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ć
af4015db29
Add BGFX_CONFIG_GL_NORMALIZE_NDC_CONVENTION. ( #3875 )
2026-08-06 05:30:06 -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
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ć
8377801ee0
Add BC4S, BC5S, BC6HU, RGB10A2U and D32FS8 texture formats. ( #3857 )
2026-07-29 21:25:53 +00:00
Branimir Karadžić
1862bf0480
Guard against undersized texture updates. Fix compute image views. ( #3856 )
2026-07-29 14:10:57 +00:00
Branimir Karadžić
f0ff45697b
Fix include paths. ( #3849 )
2026-07-25 12:44:29 -07:00
Branimir Karadžić
ce18bdb6c6
Allow negative x/y in bgfx::setViewRect. ( #3848 )
2026-07-25 15:04:06 +00:00
Branimir Karadžić
ef73539985
GL: Added support for external texture. ( #3839 )
2026-07-17 20:44:37 +00:00
Branimir Karadžić
435627021d
Added clear texture API. ( #3836 )
2026-07-16 05:41:58 +00:00
Branimir Karadžić
a4555482f9
Increased number of texcoord attributes, increased instance data, added int32/uint32 vertex attributes. ( #3832 )
2026-07-14 05:15:13 +00:00
Branimir Karadžić
6eb09a4a9b
Added setImage with array layer range for compute images. ( #3829 )
2026-07-13 04:19:07 +00:00
Branimir Karadžić
7c6a7e5f00
D3D11/VK/Metal/GL: Fixed dangling framebuffer handle on destroy. ( #3827 )
2026-07-12 20:30:42 -07:00
Branimir Karadžić
7b38346442
Added stencil write mask. ( #3821 )
2026-07-11 23:46:38 -07: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ć
73629ada72
Dedup bindings per encoder. ( #3772 )
2026-06-20 05:22:12 +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ć
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ć
5ce8af5d4f
GL: Fix texture format conversion in TextureGL::update. Closes #2956 . ( #3738 )
2026-06-07 09:29:29 -07:00