Бранимир Караџић
6b84a02e26
Metal: Improve release macros to keep track of refcount.
2025-10-30 10:13:32 -07:00
ProPuke
df53a7ca84
Fixed: BGFX_TEXTURE_MSAA_SAMPLE and msaa sampling bugs with gl ( #3351 )
...
* fixed: multiple BGFX_TEXTURE_MSAA_SAMPLE attachments could not be present in a framebuffer at once (sample locations were not fixed)
I've just set the sample location as always fixed for now, although technically this can be false if only 1 msaa texture attachment is present
* fixed: framebuffer with a resolved msaa AND a sample msaa at the same time would result in an invalid framebuffer
it would try to also resolve the sample-msaa texture at the same, leading to an invalid target type
* fixed: depth attachments could not be sample-msaa
this is valid, they don't resolving
* fixed: shader error sampking msaa textures in gl
parameter duplication on texelFetch(sampler2DMS,*) led to failed shaders
2025-10-30 00:29:36 +00:00
Branimir Karadžić
55f997002f
Added ability to configure minimum uniform buffer size. PR #3478 .
2025-10-29 16:06:17 -07:00
Branimir Karadžić
16cf4f8683
Added ability to configure minimum uniform buffer size.
2025-10-29 16:06:17 -07:00
Бранимир Караџић
71e0db9369
Fixed Android build.
2025-10-29 13:59:22 -07:00
Бранимир Караџић
bf31667394
Fixed Android build.
2025-10-29 13:18:53 -07:00
Бранимир Караџић
959cab248e
Added ability to configure backbuffer depth/stencil.
2025-10-29 12:10:41 -07:00
Бранимир Караџић
f7c4dd70f2
Cleanup.
2025-10-27 17:11:26 -07:00
Branimir Karadžić
5aaf3c62e4
Cleanup.
2025-10-27 15:31:11 -07:00
Бранимир Караџић
52bac63cd7
Updated RenderDoc interface.
2025-10-26 22:43:43 -07:00
Бранимир Караџић
cd3749dac9
Cleanup.
2025-10-25 22:18:15 -07:00
Gary Hsu
e7c2c69edb
Add optional layerIndex argument to overrideInternal ( #3477 )
...
* Add optional layerIndex argument to overrideInternal
* Run genie idl
2025-10-26 05:12:34 +00:00
Branimir Karadžić
739d12a962
Cleanup.
2025-10-24 12:22:18 -07:00
Branimir Karadžić
66af8692bc
D3D12: Show GPU stats.
2025-10-23 23:17:45 -07:00
Branimir Karadžić
a85a76c484
Fixed build.
2025-10-23 12:42:45 -07:00
Бранимир Караџић
89e24f1849
Fixed Android build.
2025-10-23 12:39:42 -07:00
Branimir Karadžić
f3cab4d2d8
Detect nVidia Nsight debugger presence.
2025-10-23 10:06:24 -07:00
Branimir Karadžić
0cbd4b5c51
Fixed build.
2025-10-22 15:35:19 -07:00
Branimir Karadžić
e15154513c
Updated PIX headers to 1.0.240308001.
...
https://www.nuget.org/packages/WinPixEventRuntime
2025-10-22 14:36:38 -07:00
Бранимир Караџић
a9b8b0b0d5
Fixed build.
2025-10-21 18:52:56 -07:00
Бранимир Караџић
577db969fb
Removed unused code.
2025-10-20 16:15:30 -07:00
attilaz
0b8dedb4a9
Vulkan RenderPass clear ( #3476 )
...
An attempt to fix this issue.
https://github.com/bkaradzic/bgfx/issues/3474
I have tested with all the examples on windows and saw no new problems.
2025-10-17 14:31:02 +00:00
SnapperTT
fca2c0c609
Fix Raspberry Pi Build - EGL_DISPMANX_WINDOW_T not defined ( #3470 )
...
See: https://forum.qt.io/topic/88588/qtbase-compilation-error-with-device-linux-rasp-pi3-g-qeglfskmsgbmwindow-cpp/9 for details of the fix
2025-10-07 17:03:05 +00:00
Бранимир Караџић
fb893903c0
Fix Emscripten build.
2025-09-28 19:37:01 -07:00
Mike
c733598edb
Fix #3464 ( #3465 )
2025-09-26 00:43:04 +00:00
Branimir Karadžić
5eeed00aaa
Replaced use of dynamic StringT with FixedStringT.
2025-09-19 20:38:26 -07:00
Бранимир Караџић
9ab1cde267
Cleanup.
2025-09-18 22:15:41 -07:00
Бранимир Караџић
e192d9b50b
Cleanup.
2025-09-18 19:09:52 -07:00
Nuno Silva
735f6233de
Allow configuring vulkan renderer max descriptor sets per frame ( #3461 )
2025-09-18 14:25:06 +00:00
Branimir Karadžić
0c4e7e2283
Fixed warning.
2025-09-14 10:36:01 -07:00
korsil
2e73bbb962
fix blit dstDepth calculation using src.m_numLayers instead of dst.m_numLayers ( #3460 )
2025-09-14 15:48:36 +00:00
Martijn Courteaux
53293f07a8
Add support for r/rg/rgba-16 and -16ui in compute shaders. ( #3457 )
2025-09-04 16:14:58 +00:00
Matt Tytel
b2736dcc0c
Fixing color order for RGB10A2 on vulkan. ( #3403 )
...
* Fixing color order for RGB10A2 on vulkan.
* Fixing both texture and frame buffer RGB10A2 format colors.
2025-09-03 14:33:43 +00:00
Branimir Karadžić
30331f4142
Fixed MSVC warnings.
2025-08-23 19:54:08 -07:00
Branimir Karadžić
f268ce5c96
Update assert API to latest bx.
2025-08-23 09:21:18 -07:00
Martin Friedli
fab28297e0
Fix Metal: Persist new window handle (Metal layer) when swapping view ( #3452 )
...
* When using the Metal rendering backend and updating the window handle
via setPlatformData(), the passed in Metal layer was not stored.
* Instead, the old window handle was still used.
* The fix addresses a scenario where two BGFX-backed Metal views on iOS
are created and rendering needs to happen either on one view or the other.
2025-08-08 14:46:21 +00:00
Martijn Courteaux
d3dd8fb457
Slightly better surface creation logic for Vulkan. ( #3447 )
2025-07-22 16:27:21 +00:00
Loppin Vincent
a76903d622
Fix some DXBC opcode info ( #3443 )
...
Co-authored-by: Vincent Loppin <vincent.loppin@csgroup.eu >
2025-07-17 17:37:15 +02:00
Francisco Facioni
14e0aa5aff
[emscripten] Fix MEMORY64 mode ( #3437 )
...
EMSCRIPTEN_WEBGL_CONTEXT_HANDLE is 64bit when using MEMORY64 but it's stored as an int 32 bit causing overflow
2025-06-28 21:31:59 +02:00
Vincent Bousquet
d763739516
Fix blitting between texture array layers ( #3428 )
2025-05-31 00:46:12 +00:00
luzpaz
4109e14b43
Fix various typos ( #3427 )
...
Found via `codespell -q 3 -S "./3rdparty,*.ttf,*.bin,*.bin.h,./examples/common/imgui,./examples/common/font,./examples/runtime/text/sherlock_holmes_a_scandal_in_bohemia_arthur_conan_doyle.txt" -L attribut,ba,clude,conly,constan,dne,espace,hashin,hart,indext,inout,lod,nclude,reduct,retur,ser,sroll,statics,struc,te,tolen,truct,unknwn,usin,utput,varyin`
2025-05-28 19:12:06 +00:00
Synaptor
9dc992147a
Initialize color palette at start ( #3425 )
2025-05-13 14:40:57 +00:00
Martijn Courteaux
0e734522cd
Vulkan memory allocation LRU cache ( #3422 )
...
* First version of a memory allocation cache for Vulkan.
* Increase maximal cached memory allocations to 1024. Add configuration parameter.
2025-04-12 00:21:34 +00:00
Luigi Malomo
c8f237a39b
Add u_invModelView uniform to shader and documentation ( #3421 )
2025-04-11 23:54:42 +00:00
Бранимир Караџић
01dc8c59b4
Cleanup.
2025-04-01 15:05:30 -07:00
Martijn Courteaux
6e76442979
Fix TextVideoMemBlitter staging buffer issue. ( #3419 )
...
* Fix TextVideoMemBlitter staging buffer issue, and broken vkFlushMappedMemoryRange.
* Merge flush and reset.
* Rename flush_and_reset() to flush(_reset=true).
2025-04-01 22:00:06 +00:00
Бранимир Караџић
72f9b8b516
Workaround VK scratch buffer issue.
2025-03-29 08:21:28 -07:00
Бранимир Караџић
8a07b4edac
Updated version.
2025-03-15 12:25:55 -07:00
nathanstouffer
b92787168f
Fix wasm tinystl compile error ( #3406 )
...
* utilize bx::strLen instead of C function
* utilize bx::strCopy instead of C function
2025-02-04 09:49:45 -08:00
Matt Tytel
736bffa3dd
Another fix for crashing with VK_DEVICE_LOST ( #3404 )
2025-01-31 09:11:36 -08:00