Commit Graph

380 Commits

Author SHA1 Message Date
Branimir Karadžić
0b0ddb7f6b Added generate mips on frame buffer resolve. (#3664) 2026-04-17 05:04:57 +00:00
Vincent Bousquet
8a070c8e27 Vulkan: fix missing swapchain image acquire semaphore (#3655) 2026-04-09 21:20:28 +00:00
Branimir Karadžić
48a1f88bcc VK: Lazy transition texture state, instead of bitching about it. (#3653) 2026-04-07 21:03:08 +00:00
Branimir Karadžić
7c0d813b83 Remove unused shader parsers. (#3651)
* Removed shader parsers.

* Removed shader parsers.
2026-04-05 02:54:27 +00:00
Branimir Karadžić
9a1ce9c60b Fixed #3647. (#3648) 2026-03-31 16:34:09 -07:00
Branimir Karadžić
3118337be2 VK: Fixed crash when using BGFX_FRAME_FLUSH. (#3640) 2026-03-22 07:09:15 +00:00
Branimir Karadžić
42b52a7a51 VK: Fix default non-external texture state. (#3635) 2026-03-21 08:56:41 -07:00
Branimir Karadžić
f26d3b1342 Use render pass creation data for render pass hash. (#3636) 2026-03-21 07:14:13 +00:00
Daniele Bartolini
20a637e3e6 VK: only enable non-opaque compositing if requested (#3630) 2026-03-13 02:47:58 +00:00
Branimir Karadžić
a73c12db8f Added bgfx::AttribType::Int8/Uint16. (#3626) 2026-03-09 06:13:51 +00:00
Бранимир Караџић
b121263362 VK: Fix default texture state. 2026-02-24 07:32:35 -08:00
Бранимир Караџић
33930ac14a VK: Add external texture. 2026-02-23 22:28:11 -08:00
Branimir Karadžić
91814c9729 Added flag for texture formats that can be used as back-buffer format. (#3605) 2026-02-22 02:44:26 +00:00
Branimir Karadžić
651c203116 Undo default back buffer format. Fix VK. (#3604) 2026-02-20 03:14:27 +00:00
Branimir Karadžić
856208328c Use back buffer format when capturing screen shot. (#3603) 2026-02-20 00:46:41 +00:00
Branimir Karadžić
2800f17970 Cleanup. (#3598) 2026-02-18 21:01:18 +00:00
Martijn Courteaux
f3bc108efe Restore Vulkan 1.0 compatibility. (#3597)
* vulkan: Do not hard-depend on Vulkan 1.2 and Vulkan 1.1.

* fix(ub): vector iterators are not the same as taking address of position.

* fix(ub): Mask bit iterator had implicit promotion bug.

* fix(ub): Vulkan backend shouldn't copy fragment shader source if there is none.
2026-02-18 20:12:49 +00:00
Branimir Karadžić
40e614c45d Added external texture parameter. (#3596)
* Added external texture parameter.

* Use uint64_t instead of uintptr_t for external texture because VkImage is always 64-bit.
2026-02-18 20:12:37 +00:00
Branimir Karadžić
780ef58e97 VK: Fixed VRS feature detection. Issue #3549. (#3555) 2026-01-18 16:26:03 +00:00
Branimir Karadžić
4baed6e076 Happy New Year! (#3550) 2026-01-14 16:26:51 +00:00
attilaz
b0d32c079e Fix for PowerVR Rogue GE8320 random flickering polygons (#3539) 2026-01-09 09:31:09 -08:00
Branimir Karadžić
241e9c3330 Added Init.fallback option. Cleanup. (#3522) 2025-12-24 04:29:32 +00:00
Бранимир Караџић
8a6a40108a Improved profiler colors. 2025-11-21 10:31:54 -08:00
Branimir Karadžić
efe84f3f14 VK: Implement chunked scratch buffer for uniforms. Fixed issue #3112. (#3500) 2025-11-20 01:57:19 +00:00
Branimir Karadžić
df6e5ced62 VK: Don't assert when it fails to set debug object name. (#3499)
* VK: Don't assert when it fails to set debug object name.

* VK: Show VkResult as decimal to match vulkan.h.
2025-11-18 19:39:19 +00:00
Branimir Karadžić
9e8ecf4af4 Added EAC texture formats. (#3487) 2025-11-11 08:39:24 -08:00
Branimir Karadžić
35911ac2d9 Added uniform frequency. (#3485)
* Added uniform frequency.

* Cleanup.

* Cleanup.
2025-11-10 23:41:33 +00:00
Бранимир Караџић
358223c63e Added variable rate shading. 2025-11-06 17:21:53 -08:00
Бранимир Караџић
0fb116cf45 VK: Added descriptor pool per frame. 2025-11-04 14:15:49 -08:00
Бранимир Караџић
3722e21525 Added 50-headless example. 2025-11-01 21:29:11 -07:00
Branimir Karadžić
5d8eb6d67c Cleanup. 2025-10-31 08:44:02 -07:00
Branimir Karadžić
16cf4f8683 Added ability to configure minimum uniform buffer size. 2025-10-29 16:06:17 -07:00
Бранимир Караџић
959cab248e Added ability to configure backbuffer depth/stencil. 2025-10-29 12:10:41 -07:00
Branimir Karadžić
5aaf3c62e4 Cleanup. 2025-10-27 15:31:11 -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ć
f3cab4d2d8 Detect nVidia Nsight debugger presence. 2025-10-23 10:06:24 -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
Бранимир Караџић
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
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
Martijn Courteaux
d3dd8fb457 Slightly better surface creation logic for Vulkan. (#3447) 2025-07-22 16:27:21 +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
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
Бранимир Караџић
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
Matt Tytel
736bffa3dd Another fix for crashing with VK_DEVICE_LOST (#3404) 2025-01-31 09:11:36 -08:00