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
0c1af2f243
Fix various rendering elements with Reversed Z enabled and simplify code
...
#2684
2026-05-11 18:26:21 +02:00
mafiesto4
1079791bed
Add rendering stats for Data Upload
2026-05-07 00:02:33 +02:00
mafiesto4
c33ada2715
Fix unnecessary memory allocations within D3D object debug name assignment
2026-04-27 14:27:32 +02:00
mafiesto4
c0f52235c6
Fix compilation on Xbox with new D3D12MA lib used
2026-04-24 11:21:42 +02:00
mafiesto4
0cacc58b53
Fix minor issues in D3D12
2026-04-23 18:39:09 +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
f5f4fb29f2
Cleanup code and disable unused Json/Dump features from D3D12MA
2026-04-23 17:13:30 +02:00
mafiesto4
33617a702a
Add D3D12MemoryAllocator for resource allocations on DX12
...
v3.1.0
2026-04-23 17:12:26 +02:00
mafiesto4
b756c16018
Add renaming underlying GPU resource (eg. for pooled render targets)
2026-03-23 18:37:18 +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
153b16ebd7
Add various graphics improvements
2026-02-25 18:23:49 +01:00
mafiesto4
6fd58c418e
Fixes and updates to graphics api
2026-02-20 23:49:49 +01:00
mafiesto4
f045b5b6b6
Merge remote-tracking branch 'origin/master' into 1.12
...
# Conflicts:
# Content/Editor/Camera/M_Camera.flax
# Content/Editor/CubeTexturePreviewMaterial.flax
# Content/Editor/DebugMaterials/DDGIDebugProbes.flax
# Content/Editor/DebugMaterials/SingleColor/Decal.flax
# Content/Editor/DebugMaterials/SingleColor/Particle.flax
# Content/Editor/DebugMaterials/SingleColor/Surface.flax
# Content/Editor/DebugMaterials/SingleColor/SurfaceAdditive.flax
# Content/Editor/DebugMaterials/SingleColor/Terrain.flax
# Content/Editor/DefaultFontMaterial.flax
# Content/Editor/Gizmo/FoliageBrushMaterial.flax
# Content/Editor/Gizmo/Material.flax
# Content/Editor/Gizmo/MaterialWire.flax
# Content/Editor/Gizmo/SelectionOutlineMaterial.flax
# Content/Editor/Gizmo/VertexColorsPreviewMaterial.flax
# Content/Editor/Highlight Material.flax
# Content/Editor/Icons/IconsMaterial.flax
# Content/Editor/IesProfilePreviewMaterial.flax
# Content/Editor/MaterialTemplates/Features/ForwardShading.hlsl
# Content/Editor/Particles/Particle Material Color.flax
# Content/Editor/Particles/Smoke Material.flax
# Content/Editor/SpriteMaterial.flax
# Content/Editor/Terrain/Circle Brush Material.flax
# Content/Editor/Terrain/Highlight Terrain Material.flax
# Content/Editor/TexturePreviewMaterial.flax
# Content/Editor/Wires Debug Material.flax
# Content/Engine/DefaultDeformableMaterial.flax
# Content/Engine/DefaultMaterial.flax
# Content/Engine/DefaultRadialMenu.flax
# Content/Engine/DefaultTerrainMaterial.flax
# Content/Engine/SingleColorMaterial.flax
# Content/Engine/SkyboxMaterial.flax
# Flax.flaxproj
# Source/Engine/Graphics/Materials/MaterialShader.h
# Source/Engine/Graphics/Materials/MaterialShaderFeatures.cpp
# Source/Engine/Renderer/RenderList.h
# Source/Shaders/Reflections.shader
# Source/Shaders/ReflectionsCommon.hlsl
# Source/Tools/Flax.Build/Bindings/BindingsGenerator.Cpp.cs
2026-02-11 00:20:38 +01:00
mafiesto4
9a5bc444ba
Fix build issues on MSVC on Windows
2026-01-29 12:38:23 +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
847f6411e7
Migrate ProfilerGPU to new lightweight queries API
2026-01-16 13:24:56 +01:00
mafiesto4
9ac231c403
Add new GPU Query API that is lightweight and supports occlusion queries
2026-01-16 10:40:30 +01:00
Ari Vuollet
d64c28f672
Fix compilation errors with /permissive- standard conformance mode
2025-12-19 00:03:48 +02:00
mafiesto4
ca52122656
Fix validation error on Windows for textures but optimize buffers instead
2025-12-10 14:53:51 +01:00
mafiesto4
20a7fcf6a0
Add profiler wait event for GPU wait on D3D12
2025-12-10 13:01:24 +01:00
mafiesto4
43665aa7eb
Rename GPUContext::ClearState to ResetState for constentency
2025-12-10 13:00:59 +01:00
mafiesto4
3b9b49950c
Fixes for Xbox One
2025-12-10 09:48:47 +01:00
mafiesto4
c437daf9be
Fix new compiler DXC changes
2025-11-18 05:42:02 -08:00
mafiesto4
5f0e1253cc
Refactor DX12 Root Signature creation to support offline construction
...
Fix running D3D12 on integrated AMD GPU
2025-11-18 12:08:54 +01:00
mafiesto4
5e690abd76
Fix initial state of DummyVertexBuffer on DX12
2025-11-14 01:06:01 -08:00
mafiesto4
91ee9f5e05
Refactor Mesh SDF generation on GPU to use raytracing for more precise results
2025-11-13 22:05:23 +01:00
mafiesto4
22515c37b5
Fix crash regression in D3D12 UAV bindings code
2025-10-27 22:38:47 +01:00
mafiesto4
2bf62cc54f
Add GPUDevice.VideoOutputs with a list of attached monitors
2025-10-09 15:13:04 +02:00
mafiesto4
361fc3ecfb
Add stencil buffer usage with object layer information
...
#3080 #967
2025-10-07 18:07:23 +02:00
mafiesto4
64c62f269c
Optimize D3D12 with D3D12_HEAP_FLAG_CREATE_NOT_ZEROED in some cases
2025-09-09 22:54:37 +02:00
mafiesto4
831fb0f442
Optimize textures/buffers uploading on Vulkan with page allocator
2025-09-04 21:38:07 +02:00
mafiesto4
cd22cd059d
Various small fixes and improvements
2025-09-04 15:56:33 +02:00
mafiesto4
d109e5ca9f
Add AGS lib to D3D11 for efficient UAV writes overlaps on AMD GPUs
2025-08-10 17:16:36 +02:00
mafiesto4
c1c806490f
Add nvapi lib to D3D11 for efficient UAV writes overlaps on NVIDIA GPUs
2025-08-10 16:05:18 +02:00
mafiesto4
82231981dc
Add debug tool detection for Nsight Graphics
2025-08-09 23:58:47 +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
0369d9b2cb
Optimize CSSetShader on D3D11 when remains unchanged
2025-08-08 11:03:03 +02:00
mafiesto4
cf9c203855
Various optimizations
2025-08-06 18:48:18 +02:00
mafiesto4
846a0b5685
Fix PSO init to release old data on recreation
2025-07-31 15:08:38 +02:00
mafiesto4
5e4d564338
Add **GPU profiling support to Tracy integration**
2025-07-30 19:08:45 +02:00
mafiesto4
8fcbef863e
Add GPUResourceMapMode.NoWait flag to control buffer data reading
...
c68b75a298
2025-07-30 08:42:26 +02:00
mafiesto4
c68b75a298
Fix GPUBufferDX11::Map to wait on data to avoid missing data when reading staging buffers
2025-07-29 21:43:09 +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
5c37584eca
Minor adjustment for alignment of perf-critical variables in rendering
2025-06-26 19:50:42 +02:00
mafiesto4
e9835766bc
Add red color to Tracy profiler zones that cause CPU waiting to improve profiling
2025-06-11 14:56:43 +02:00