mafiesto4
ddb29955e5
Merge branch 'dev/FixBackbufferSwapchain' of https://github.com/ifromstone/FlaxEngine into ifromstone-dev/FixBackbufferSwapchain
...
# Conflicts:
# Source/Engine/GraphicsDevice/Vulkan/GPUSwapChainVulkan.cpp
2026-08-04 20:08:23 +02:00
Andrei Gagua
0c354b85f3
Fix Vulkan swapchain wait for acquired backbuffer
...
Move backbuffer submit waiting until after swapchain image acquire, and track the submitted fence counter per backbuffer to avoid waiting on stale command buffer objects. This preserves multi-buffered presentation and fixes iOS/MoltenVK frame pacing drops caused by waiting on the wrong swapchain image.
2026-06-06 22:08:43 +03:00
Andrei Gagua
a5bebce529
Fix: Vulkan - preserve valid swapchain surfaces during resize
...
Avoid recreating VkSurfaceKHR during normal Vulkan swapchain resize/out-of-date handling. Recreate the surface only when Vulkan reports surface loss or when the native window handle used to create the surface changes.
2026-05-29 23:54:52 +03:00
Andrei Gagua
285762bfdb
Fix Vulkan Tracy timestamp queries on MoltenVK
...
Disable Vulkan Tracy GPU profiling when Vulkan timer queries are disabled.
Apple platforms already set VULKAN_USE_TIMER_QUERIES to 0
2026-05-24 11:13:41 +03:00
mafiesto4
5058bfc296
Merge remote-tracking branch 'origin/1.12' into 1.12
2026-05-13 22:40:54 +02:00
mafiesto4
746bd2273f
Fix memory alloc when renaming GPU resource on Vulkan
2026-05-12 17:40:09 +02:00
mafiesto4
dcccc4687d
Fix swapchain creation on the latest iOS to run on UI thread
2026-05-11 22:27:21 +02:00
mafiesto4
913892f3c1
Fix unnecessary memory allocations within D3D object debug name assignment
2026-04-27 16:09:49 +02:00
mafiesto4
881bc4d629
Fix crash on Vulkan when constant buffer is missing
2026-04-24 12:21:36 +02:00
mafiesto4
f85836d090
Add logging timeout size on Vulkan fence wait fail
2026-04-20 09:47:13 +02:00
mafiesto4
cf319876e6
Fix build error on missing Emscripten SDK to be more usable
2026-04-18 19:55:37 +02:00
mafiesto4
d0ac31c02b
Fix incorrect shader sample support for WebGPU texture formats from Tier1 that are only unfilterable-float for shader load-only
2026-04-17 17:43:03 +02:00
mafiesto4
2636c5e82f
Fix crash on Vulkan buffer upload page logic
...
#3931
2026-04-15 14:20:56 +02:00
mafiesto4
3f55833939
Fix crash on Vulkan when vkGetPhysicalDeviceSurfaceFormatsKHR returns VK_INCOMPLETE
2026-04-14 16:38:03 +02:00
mafiesto4
095cfcdde2
Fix WebGPU crash when creating buffer with init data that is not aligned to 4 bytes
2026-04-09 14:47:21 +02:00
mafiesto4
7193f8dcab
Fix empty bind group to not be static due to WebGPU issues
2026-04-03 17:07:14 +02:00
mafiesto4
0e161c6ec1
Fixes for Web
2026-04-03 16:45:16 +02:00
mafiesto4
e000a6727e
Fix format support on Vulkan
2026-03-24 23:58:01 +01:00
mafiesto4
45feda8f07
Fix Firefox and Safari bug with missing bind group layout
2026-03-24 16:59:49 +01:00
mafiesto4
88fe9ba186
Fix WebGPU crashes when resizing canvas
2026-03-23 18:37:58 +01:00
mafiesto4
b756c16018
Add renaming underlying GPU resource (eg. for pooled render targets)
2026-03-23 18:37:18 +01:00
mafiesto4
a5ec8565e4
Refactor WebGPU ASYNCIFY to use JSPI
...
Smaller build size and better performance. Also, link time goes down a lot
2026-03-18 23:08:39 +01:00
mafiesto4
ed3a827b5f
Implement GPUDeviceWebGPU::WaitForGPU
2026-03-16 16:41:39 +01:00
mafiesto4
427f4647fc
Fix various issues in WebGPU backend
2026-03-16 16:39:18 +01:00
mafiesto4
3cfa110a48
Merge remote-tracking branch 'origin/master' into 1.12
...
# Conflicts:
# Source/Editor/Options/InterfaceOptions.cs
# Source/Engine/Audio/OpenAL/AudioBackendOAL.cpp
# Source/Engine/Graphics/Graphics.cpp
# Source/Engine/GraphicsDevice/Vulkan/CmdBufferVulkan.cpp
# Source/Engine/GraphicsDevice/Vulkan/CmdBufferVulkan.h
# Source/Engine/GraphicsDevice/Vulkan/Config.h
# Source/Engine/GraphicsDevice/Vulkan/GPUDeviceVulkan.cpp
# Source/Engine/GraphicsDevice/Vulkan/GPUDeviceVulkan.h
# Source/Engine/GraphicsDevice/Vulkan/QueueVulkan.cpp
2026-03-10 15:08:43 +01:00
mafiesto4
c4342b0a20
Add SPIR-V compression with LZ4 of Vulkan shaders (35% avg smaller)
2026-03-07 23:24:40 +01:00
mafiesto4
b408a8ce21
Fix WebGPU in non-Debug builds
2026-03-06 14:45:00 +01:00
mafiesto4
94789712e8
Add basis_universal support for textures on Web
...
Add implementation for loading interchange texture formats with multiple runtime formats support
2026-03-06 11:09:29 +01:00
mafiesto4
414c650550
Fixes for WebGPU
2026-03-04 22:00:50 +01:00
mafiesto4
377d5c00aa
Add Compute shaders support to WebGPU
2026-03-04 21:27:42 +01:00
mafiesto4
aff8090adb
Add LZ4 compression to WebGPU shaders
2026-03-04 09:15:53 +01:00
mafiesto4
10bcf9c9a3
Fix Vulkan timeout to be larger (5s)
...
#3967
2026-03-03 23:29:10 +01:00
mafiesto4
ad3c2be510
Add timer and occlusion queries support to WebGPU
2026-03-03 21:35:42 +01:00
mafiesto4
5641bf63e8
Add validation of adapter limits for WebGPU
2026-03-03 16:03:14 +01:00
mafiesto4
6814a43418
Various changes for WebGPU and hardware instancing support
2026-03-03 14:51:15 +01:00
mafiesto4
9df5da2a88
Fix compilation warnings from a925c7410a
2026-03-03 10:25:57 +01:00
mafiesto4
c4f4983f6d
Add WebGPU bind groups caching
2026-03-03 09:47:59 +01:00
mafiesto4
23ebb0e754
Fix particles on WebGPU to respect format support flags properly
2026-03-02 23:06:01 +01:00
mafiesto4
b191d3918e
Fix rendering various visuals on WebGPU
2026-03-02 20:36:33 +01:00
mafiesto4
b36c757753
Fix WebGPU error when sampling depth texture in shader which requires explicit UnfilterableFloat sampler type
2026-02-26 16:59:25 +01:00
mafiesto4
63f19aa4d6
Fix minor issues
2026-02-26 15:52:41 +01:00
mafiesto4
8728d88dde
Fix vertex layouts binding to match vertex shader inputs on WebGPU
2026-02-26 15:50:36 +01:00
mafiesto4
f6888b099e
Add cubemap and texture arrays copy/update in WebGPU
2026-02-26 13:27:35 +01:00
mafiesto4
239ceb75a9
Fix binding various resources to shaders in WebGPU
2026-02-26 12:23:07 +01:00
mafiesto4
ac4526744a
Add GPU profile events to WebGPU and use the by default in non-Release builds
2026-02-26 11:08:12 +01:00
mafiesto4
d2a8ac54cf
Fix depth stencil view format when binding to shader to use depth-only aspect but still render to both
2026-02-26 11:07:19 +01:00
mafiesto4
153b16ebd7
Add various graphics improvements
2026-02-25 18:23:49 +01:00
mafiesto4
b535791c66
Implement bind groups in WebGPU to provide resources to shaders
2026-02-25 18:22:55 +01:00
mafiesto4
9d95bbaa8c
Add GPU data upload allocator with shared page pool
2026-02-24 23:18:07 +01:00
mafiesto4
195d5b1aa2
Fixes and missing changes
2026-02-24 17:59:42 +01:00