Commit Graph

79 Commits

Author SHA1 Message Date
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 881bc4d629 Fix crash on Vulkan when constant buffer is missing 2026-04-24 12:21:36 +02:00
mafiesto4 153b16ebd7 Add various graphics improvements 2026-02-25 18:23:49 +01:00
mafiesto4 45306ca20e Minor Vulkan fixes 2026-01-28 20:35:42 +01:00
mafiesto4 d049a16882 Add support for Depth Bounds test in all graphics APIs 2026-01-19 17:44:45 +01:00
mafiesto4 f44dde89db Fix missing vertex counting in draws (use index count to approx) 2026-01-18 16:24:15 +01:00
mafiesto4 9ac231c403 Add new GPU Query API that is lightweight and supports occlusion queries 2026-01-16 10:40:30 +01:00
mafiesto4 43665aa7eb Rename GPUContext::ClearState to ResetState for constentency 2025-12-10 13:00:59 +01:00
mafiesto4 c944bd9bed Fix missing Vulkan feature activation for host query reset 2025-10-27 00:32:29 +01:00
mafiesto4 fdecad0d29 Fix Vulkan crash on missing handle owner during binding 2025-10-16 10:39:50 +02:00
mafiesto4 1f56c75821 Minor fixes 2025-09-09 15:26:03 +02:00
mafiesto4 42b542d190 Improve recent changes to memory barriers on Vulkan 2025-09-07 00:17:11 +02:00
mafiesto4 831fb0f442 Optimize textures/buffers uploading on Vulkan with page allocator 2025-09-04 21:38:07 +02:00
mafiesto4 1915e1e7f4 Optimize compute shader pipeline binding on D3D12 and Vulkan when unchanged 2025-08-09 23:58:15 +02:00
mafiesto4 b5a431d2f5 Add explicit GPU resource transitions, memory and compute barriers 2025-08-09 23:57:43 +02:00
mafiesto4 cf9c203855 Various optimizations 2025-08-06 18:48:18 +02:00
mafiesto4 5dc4ebade1 Fix Vulkan perf tracing with Tracy on Switch 2025-07-30 23:25:27 +02:00
mafiesto4 5e4d564338 Add **GPU profiling support to Tracy integration** 2025-07-30 19:08:45 +02:00
mafiesto4 9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
mafiesto4 bc4f3668fe Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Engine/Core/Math/Vector3.cpp
#	Source/Engine/Core/Math/Vector3.h
#	Source/Engine/GraphicsDevice/Vulkan/GPUContextVulkan.cpp
#	Source/Engine/GraphicsDevice/Vulkan/GPUDeviceVulkan.cpp
#	Source/Engine/GraphicsDevice/Vulkan/GPUDeviceVulkan.h
2025-03-09 09:23:42 +01:00
mafiesto4 fef967d4a0 Fix crash on Vulkan when binding dummy buffer as missing uniform buffer
#3000
2025-03-08 14:28:47 +01:00
mafiesto4 a6fb651ff4 Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Engine/Graphics/Materials/MaterialShader.h
2025-02-18 09:19:59 +01:00
mafiesto4 04dde7a3f2 Add warnings on incorrect GPUBuffer or GPUTexture usage when binding to GPUContext (in non-release builds) 2025-01-30 22:03:21 +01:00
mafiesto4 99788e4743 More fixes for Vulkan rendering to be on pair with DirectX when it comes to accessing missing vertex buffer components 2025-01-09 21:46:22 +01:00
mafiesto4 2b2ace0d00 Fixes for Vulkan backend after recent changes 2025-01-08 18:09:45 +01:00
mafiesto4 b3f37ca041 Refactor Vertex Shader input vertex layout to use GPUVertexLayout defined on Vertex Buffer rather than Vertex Shader
#3044 #2667
2024-12-15 22:10:45 +01:00
mafiesto4 666efb7675 Fix incorrect dummy GPU Buffer format when binding missing resource to Vulkan descriptor 2024-12-13 14:56:20 +01:00
mafiesto4 20704ef9dd Fix stencil usage in Vulkan 2024-11-20 16:15:54 +01:00
mafiesto4 5f4c57d3eb Fix texture copy into staging one on DX12 and Vulkan 2024-05-28 14:56:38 +02:00
mafiesto4 13a04c2941 Add stencilValue for stencil buffer clearing 2024-04-02 14:56:26 +02:00
mafiesto4 a4e693b6a6 Fix small GPU buffer update on Vulkan if data size align up overflows buffer size 2024-03-12 10:01:04 +01:00
mafiesto4 14902dc29e Merge remote-tracking branch 'origin/master' into 1.8
# Conflicts:
#	Flax.flaxproj
2024-02-26 19:49:39 +01:00
mafiesto4 859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
mafiesto4 17361d6bc1 Revert some VUlkan backend changes to fix regression on Metal devices 2024-02-07 12:16:11 +01:00
mafiesto4 8488a8d387 Add support for stencil buffer on Vulkan and D3D11/D3D12 2024-02-01 14:47:17 +01:00
mafiesto4 bb00d29098 Codestyle fixes and optimizations 2024-01-29 13:46:50 +01:00
mafiesto4 ccf3469307 Minor Vulkan tweaks 2023-10-10 14:17:34 +02:00
mafiesto4 09f2be907e Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Flax.flaxproj
2023-10-09 12:40:47 +02:00
mafiesto4 481a3cfba5 Minor tweaks 2023-10-08 23:33:51 +02:00
mafiesto4 e6c45fccb3 Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Source/Engine/Level/Actors/AnimatedModel.cpp
2023-10-05 10:44:03 +02:00
mafiesto4 70f0fbe954 Fix crash on Vulkan when drawing shader without binding proper constant Buffer
#1289
2023-10-02 11:37:24 +02:00
mafiesto4 1c9d8aa470 Add GPUContext::SetStencilRef to stencil reference value 2023-06-19 11:21:35 +02:00
mafiesto4 45a30990ba Add GPUContext::SetBlendFactor 2023-02-01 11:07:48 +01:00
mafiesto4 f127bbebe1 Refactor enum flags with __underlying_type and new EnumHasAnyFlags/EnumHasAllFlags
Fixes #832
Closes #886
2023-01-15 12:44:39 +01:00
mafiesto4 a7e428a21c Merge branch 'master' into 1.5
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Editor/CustomEditors/Editors/ActorTagEditor.cs
#	Source/Engine/Core/Config/GraphicsSettings.cpp
#	Source/Engine/Engine/PostProcessEffect.cs
#	Source/Engine/Graphics/GPUResourcesCollection.cpp
#	Source/Engine/Graphics/GPUResourcesCollection.h
#	Source/Engine/Graphics/PostProcessBase.h
#	Source/FlaxEngine.Gen.cs
2023-01-10 15:37:55 +01:00
mafiesto4 9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
mafiesto4 63e7fb85ec Fix GetNativePtr on Vulkan 2022-12-14 16:16:43 +01:00
mafiesto4 df82a0f5d0 Add **GPU Memory profiler** to Editor 2022-12-08 16:30:37 +01:00
mafiesto4 3abbafa530 Fixes for Vulkan 2022-09-06 22:54:00 +02:00
mafiesto4 de2d041e47 Fix warning 2022-07-01 14:10:54 +02:00