Commit Graph

302 Commits

Author SHA1 Message Date
mafiesto4 49cb39e1f1 Merge remote-tracking branch 'origin/master' into 1.13
# Conflicts:
#	Source/Engine/GraphicsDevice/Vulkan/GPUSwapChainVulkan.cpp
2026-08-05 08:12:00 +02:00
mafiesto4 470b12bfd3 Post merge 2026-08-04 20:11:42 +02:00
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
mafiesto4 33332bb372 Add engine extensions for PerfSDK integration
https://github.com/FlaxEngine/PerfSDK
2026-06-11 12:10:28 +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
mafiesto4 775e978fed Merge remote-tracking branch 'origin/master' into 1.13
# Conflicts:
#	Flax.flaxproj
#	Source/Engine/Level/Actors/StaticModel.cpp
#	Source/Engine/Level/Prefabs/Prefab.cpp
#	Source/Engine/Tools/ModelTool/ModelTool.cpp
2026-06-03 17:15:38 +02:00
mafiesto4 45f7c1f0a0 Add detecting Vulkan SDK version 2026-06-01 16:39:11 +02:00
mafiesto4 c2b2d6973b Merge branch '1.13' of https://gitlab.flaxengine.com/flax/flaxengine into 1.13 2026-06-01 16:19:30 +02:00
mafiesto4 caeecf2aea Update Vulkan API to 1.4 on macOS and iOS 2026-06-01 16:19:04 +02:00
mafiesto4 4b6c22c43f Fix game build regression from f55ac81fe4 2026-06-01 15:52:18 +02:00
mafiesto4 f55ac81fe4 Update to the latest Vulkan SDK 1.4.350
Update Vulkan API to `1.2` on Windows
Update Vulkan API to `1.1` on Android
2026-06-01 14:19:09 +02: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 5dac5d3f2d Refactor GPU Debug Layers to be manually activated with -gpudebug
Debug builds don't activate it by default. Can be sued in both Debug and Development builds.
`GPU_ENABLE_DIAGNOSTICS` renamed to `GPU_ENABLE_DEBUG_LAYER`
`GPU_ENABLE_WINDOW_SRV` renamed to `GPU_ENABLE_WINDOW_SRV`
`GPU_USE_SHADERS_DEBUG_LAYER` renamed to `GPU_ENABLE_SHADERS_DEBUG_LAYER`
2026-05-19 15:26:01 +02:00
mafiesto4 9e96206d67 Merge remote-tracking branch 'origin/master' into 1.13 2026-05-19 10:55:14 +02: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 ec9f05fe11 Fix memory alloc when renaming GPU resource on Vulkan 2026-05-12 17:10:28 +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 0c1af2f243 Fix various rendering elements with Reversed Z enabled and simplify code
#2684
2026-05-11 18:26:21 +02:00
mafiesto4 7127ccda37 Fix depth bounds in reversed Z
#2684
2026-05-08 09:02:17 +02:00
mafiesto4 bdabcd5e43 Fix regression to properly resume render pass when flushing barriers mid-pass
141a8de0da
2026-05-07 09:03:22 +02:00
mafiesto4 1079791bed Add rendering stats for Data Upload 2026-05-07 00:02:33 +02:00
mafiesto4 9c5daf419b Fix default shadow depth bias values and control them based on shadow resolution/quality mix 2026-05-06 12:39:15 +02:00
mafiesto4 75bd206416 Fix regression crash on Vulkan when clearing many textures at once 2026-04-28 20:19:35 +02:00
mafiesto4 442cb8f2dd Minor improvements 2026-04-28 00:25:31 +02:00
mafiesto4 881bc4d629 Fix crash on Vulkan when constant buffer is missing 2026-04-24 12:21:36 +02:00
mafiesto4 468e05c6e8 Fix crash on Vulkan when constant buffer is missing 2026-04-24 12:20:32 +02:00
mafiesto4 804315bb3e Add VSync support to Vulkan 2026-04-23 20:25:36 +02:00
mafiesto4 7437b69d52 Add GPUMemoryStats for GPU video memory stats
Add new `Total/GPU` category to memory profiler.
Implement for D3D12 and Vulkan with allocators.
2026-04-23 18:38:47 +02:00
mafiesto4 84b53bb9c8 Optimize various rendering effects with GPUDrawPass 2026-04-23 14:30:02 +02:00
mafiesto4 f41d01f4a9 Optimize Vulkan render passes with a new GPUDrawPass to manually control attachment operations in higher-level API 2026-04-23 10:18:13 +02:00
mafiesto4 141a8de0da Optimize Vulkan texture clears with render pass attachments clear operation 2026-04-23 09:44:31 +02:00
mafiesto4 f85836d090 Add logging timeout size on Vulkan fence wait fail 2026-04-20 09:47:13 +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 e000a6727e Fix format support on Vulkan 2026-03-24 23:58:01 +01:00
mafiesto4 b756c16018 Add renaming underlying GPU resource (eg. for pooled render targets) 2026-03-23 18:37: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 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 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 9df5da2a88 Fix compilation warnings from a925c7410a 2026-03-03 10:25:57 +01:00
mafiesto4 23ebb0e754 Fix particles on WebGPU to respect format support flags properly 2026-03-02 23:06:01 +01:00
mafiesto4 239ceb75a9 Fix binding various resources to shaders in WebGPU 2026-02-26 12:23:07 +01:00
mafiesto4 153b16ebd7 Add various graphics improvements 2026-02-25 18:23:49 +01:00
mafiesto4 195d5b1aa2 Fixes and missing changes 2026-02-24 17:59:42 +01:00