Commit Graph

60 Commits

Author SHA1 Message Date
mafiesto4 0c1af2f243 Fix various rendering elements with Reversed Z enabled and simplify code
#2684
2026-05-11 18:26:21 +02:00
mafiesto4 fb21ffd3be Rename FLAX_REVERSE_Z macro to REVERSE_Z
#2684
2026-05-08 10:52:46 +02:00
mafiesto4 241441d5b9 Merge branch 'reverse-z' of https://github.com/HydrogenC/FlaxEngine into HydrogenC-reverse-z
# Conflicts:
#	Source/Engine/Graphics/GPUDevice.cpp
#	Source/Engine/Graphics/Materials/DeferredMaterialShader.cpp
#	Source/Engine/Graphics/Materials/ForwardMaterialShader.cpp
#	Source/Engine/Graphics/Materials/TerrainMaterialShader.cpp
#	Source/Engine/Renderer/LightPass.cpp
#	Source/Engine/Renderer/ReflectionsPass.cpp
#	Source/Engine/Renderer/ShadowsPass.cpp
#	Source/Shaders/SSR.hlsl
#	Source/Shaders/ShadowsSampling.hlsl
#	Source/Shaders/Sky.shader
2026-05-07 19:55:03 +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 0ba611e57f Fix compilation 2026-04-20 10:42:20 +02:00
mafiesto4 c474f2e522 Add GPUDevice.DumpResources command and fix output to be sorted by size and cleaner to read 2026-04-20 09:46:43 +02:00
mafiesto4 b756c16018 Add renaming underlying GPU resource (eg. for pooled render targets) 2026-03-23 18:37:18 +01:00
mafiesto4 427f4647fc Fix various issues in WebGPU backend 2026-03-16 16:39:18 +01:00
mafiesto4 b191d3918e Fix rendering various visuals on WebGPU 2026-03-02 20:36:33 +01:00
mafiesto4 20c9ed27fb Add sampler slots usage and inputs/outputs count to GPU shader program bindings meta 2026-02-26 12:02:52 +01:00
mafiesto4 d049a16882 Add support for Depth Bounds test in all graphics APIs 2026-01-19 17:44:45 +01:00
mafiesto4 2bf62cc54f Add GPUDevice.VideoOutputs with a list of attached monitors 2025-10-09 15:13:04 +02:00
mafiesto4 5e4d564338 Add **GPU profiling support to Tracy integration** 2025-07-30 19:08:45 +02:00
mafiesto4 17c0892ff1 Add debug name for PSO catching on D3D12/Vulkan during profiling incl. Development builds 2025-07-28 23:08:26 +02:00
mafiesto4 d7ff9fdade Optimize editor profiler native allocations when capturing data 2025-06-09 15:23:31 +02:00
mafiesto4 c639a3103c Add memory profiling events to the main areas of the engine 2025-05-22 04:47:01 +02:00
mafiesto4 9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
mafiesto4 d501018feb Add improved GPU crashes reporting 2025-01-24 22:56:52 +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 fc4e6f4972 Add GPUVertexLayout to graphics backends 2024-12-13 09:20:01 +01:00
ExMatics HydrogenC 561d40fd71 Merge remote-tracking branch 'upstream/master' into reverse-z 2024-10-10 17:42:43 +08:00
ExMatics HydrogenC ea749f12a3 Add depth function to conditional compiling 2024-06-05 23:36:41 +08:00
ExMatics HydrogenC a8dc67a1b2 Implement reverse z 2024-06-03 22:02:35 +08:00
mafiesto4 1cbcddf410 Add IsDebugToolAttached to GPUDevice for detecting gpu debugger tools attached and auto-enable GPU profiler in that case 2024-06-03 09:24:27 +02:00
mafiesto4 82bf4238df Add support for decoding NV12 into RGB image 2024-05-15 11:15:19 +02:00
mafiesto4 0d8c9f6626 Add Video module 2024-05-01 01:25:16 +02:00
mafiesto4 859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
mafiesto4 4a10878b45 Refactor GPUResourceProperty 2023-11-04 20:04:40 +01:00
mafiesto4 186e13b5e8 Add support for runtime running on GPU without Compute Shaders support 2023-10-26 14:33:21 +02:00
mafiesto4 d25954725f Add excluding GPU swapchain present time from CPU draw time in profiling tool 2023-10-16 10:58:07 +02:00
mafiesto4 f952a392de Add **stencil buffer** support to GPUPipelineState 2023-06-19 13:46:37 +02:00
mafiesto4 9bb8dcac3d Fix GPU Limits to be clamped to the compile-time limits 2023-02-07 13:30:18 +01:00
mafiesto4 c46ea56af2 Rename DepthTestEnable to DepthEnable in Graphics PSO to match actual logic 2023-01-31 14:04:00 +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 0595f38fe4 Fix threading issues with GPU buffers mapping 2023-01-09 22:41:06 +01:00
mafiesto4 67c63f1410 Optimize GPU Resource name to prevent memory allocs when changing name frequently 2023-01-09 22:40:26 +01:00
mafiesto4 48b88af88a Fix deadlock in GPUDevice caused by f2c594569d 2022-12-12 20:16:11 +01:00
mafiesto4 a809a69ca0 Fixes for GPU resources C# object types 2022-12-09 11:28:39 +01:00
mafiesto4 df82a0f5d0 Add **GPU Memory profiler** to Editor 2022-12-08 16:30:37 +01:00
mafiesto4 f2c594569d Remove GPUResourcesCollection and use GPUDevice instead to simplify code 2022-12-07 15:32:23 +01:00
mafiesto4 98c29c4a4e Optimize compilation time 2022-12-03 10:42:58 +01:00
mafiesto4 c6523ed9cd Fix crash when presenting task which swap chain is not ready 2022-10-23 14:18:55 +02:00
mafiesto4 1dab45f407 Add support for renaming GPU resources (development builds only) 2022-06-22 23:08:39 +02:00
mafiesto4 3a1475fa9c Use SoftObjectReference for deformable asset ref to prevent removing it by Content GC 2022-02-28 23:16:00 +01:00
mafiesto4 8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
mafiesto4 192af7ec14 Refactor native core objects to simplify usage for newcomers 2022-01-08 15:06:23 +01:00
mafiesto4 98ca7c1726 Add Material Complexity debug view model 2021-10-07 09:28:49 +02:00
mafiesto4 94f50ce8cb Cleanup some headers in Graphics module 2021-06-18 16:38:44 +02:00