Commit Graph

261 Commits

Author SHA1 Message Date
64cceac913 Enable transparency support in Vulkan swapchains
(cherry picked from commit 431a69e357)
2025-02-02 18:38:06 +02:00
f318d3aadc Implement SDL platform, windowing and input handling 2025-01-28 22:09:08 +02:00
Wojtek Figat
e3c8d19a9e Fix missing D3D11 stencil ref value 2024-11-26 15:56:08 +01:00
Wojtek Figat
ee5021d94d Fix regression bugs from 471d5c2a9b 2024-11-20 18:28:47 +01:00
Wojtek Figat
03fe1f72a3 Fix minor errors 2024-11-20 16:30:23 +01:00
Wojtek Figat
a890326b82 Fix blend states and blend factor usage on Vulkan 2024-11-20 16:30:13 +01:00
Wojtek Figat
20704ef9dd Fix stencil usage in Vulkan 2024-11-20 16:15:54 +01:00
Wojtek Figat
471d5c2a9b Add stencil support in PSO on DX11 2024-11-20 09:46:10 +01:00
Wojtek Figat
f21b259376 Various fixes after merge with Windows ARM pr 2024-07-25 08:34:51 +02:00
Wojtek Figat
dd61d5793c Merge branch 'woa_support' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-woa_support
# Conflicts:
#	Source/ThirdParty/assimp/config.h.in
#	Source/Tools/Flax.Build/Deps/Dependencies/Assimp.cs
2024-07-24 19:03:53 +02:00
Wojtek Figat
3296337f40 Add SetStablePowerState for D3D12 when doing shaders profiling 2024-07-19 14:26:19 +02:00
Wojtek Figat
13cf3deb3f Revert b80101411f 2024-07-12 18:42:19 +02:00
Wojtek Figat
b80101411f Optimize Vulkan Memory Allocator to not use mutex as it's synced by engine to safely access resources 2024-07-12 17:05:07 +02:00
Wojtek Figat
e83097d114 Fix missing memory allocator for Vulkan Memory Allocator 2024-07-12 17:04:23 +02:00
Wojtek Figat
230c57cca4 Add WinPixEventRuntime for D3D12 to provide GPU profiler event names 2024-07-03 18:30:11 +02:00
Wojtek Figat
fe0711c3e2 Fix D3D11 to properly flush CB/SRVs when bindings new shaders after CB/SRV was set 2024-07-02 00:55:41 +02:00
Wojtek Figat
9486466abf Fix D3D11 to properly issue instanced draws even if instance count is 1 2024-07-02 00:54:49 +02:00
Wojtek Figat
1328e869a9 Fix crash in D3D12 when constant buffer was binded but not updated before the draw 2024-07-02 00:54:17 +02:00
Wojtek Figat
fbc648302d Fix timer queries reset before use on Vulkan 2024-07-02 00:53:45 +02:00
Wojtek Figat
a377933884 Fix d3d12 build regression 2024-06-19 14:10:23 +02:00
Wojtek Figat
e0028d5f94 Merge remote-tracking branch 'origin/master' into 1.9 2024-06-17 21:53:49 +02:00
1c82c73bc0 Fix graphical glitches in Vulkan backend 2024-06-17 20:55:04 +03:00
Wojtek Figat
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
Wojtek Figat
bba14d265a Add D3D11 shaders naming for profiling 2024-06-02 22:05:45 +02:00
Wojtek Figat
59e0b43585 Fix missing DirectX resources naming in Development builds for profiling 2024-06-02 22:05:14 +02:00
a716025094 Patch pix3.h for Windows on ARM 2024-06-01 23:23:28 +03:00
2f48521ce7 Fallback to D3D11 devices without debug layers when unavailable 2024-06-01 23:23:25 +03:00
Wojtek Figat
5f4c57d3eb Fix texture copy into staging one on DX12 and Vulkan 2024-05-28 14:56:38 +02:00
Wojtek Figat
8a2acd360d Fix GPUTexture::GetData to properly handle volume textures 2024-05-28 14:56:04 +02:00
Wojtek Figat
9d2dc91920 Add PixelFormat::NV12 2024-05-15 11:14:16 +02:00
Wojtek Figat
e7508538e0 Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Flax.flaxproj
2024-05-08 19:27:56 +02:00
Wojtek Figat
e835b25637 Fix wired Vulkan validation cache errors on Linux
#2201 #1825
2024-04-26 21:47:51 +02:00
Wojtek Figat
3ebf73ec22 Add video texture format YUY2 2024-04-25 10:26:23 +02:00
Wojtek Figat
ebe05d4a51 Refactor RenderToolsDX to support new pixel formats properly 2024-04-24 17:35:58 +02:00
Wojtek Figat
cdeb9a3b15 Merge remote-tracking branch 'origin/master' into 1.9
# 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/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/DefaultTerrainMaterial.flax
#	Content/Engine/SingleColorMaterial.flax
#	Content/Engine/SkyboxMaterial.flax
#	Source/Engine/Graphics/Materials/MaterialShader.h
2024-04-23 10:30:01 +02:00
Wojtek Figat
705856da24 Fix crash when resizing window on Vulkan
Regression from 8488a8d387
#2356
2024-04-23 10:08:16 +02:00
Wojtek Figat
60e8d73079 Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Engine/Renderer/RenderList.cpp
#	Source/Engine/Renderer/RenderList.h
2024-04-17 09:58:59 +02:00
Wojtek Figat
2b95f11b1f Fixes to Vulkan backend 2024-04-13 23:55:39 +02:00
Wojtek Figat
8144db8e13 Fix various issues found with adrress sanitizer on macOS 2024-04-13 19:20:49 +02:00
Wojtek Figat
7d92779e99 Merge remote-tracking branch 'origin/master' into 1.9 2024-04-05 21:50:42 +02:00
Wojtek Figat
84e04de23d Add more improvements to optional tess/geo shaders 2024-04-04 18:35:26 +02:00
Wojtek Figat
017def29d4 Rename ShadowSamplerPCF to ShadowSamplerLinear 2024-04-03 13:29:45 +02:00
Wojtek Figat
13a04c2941 Add stencilValue for stencil buffer clearing 2024-04-02 14:56:26 +02:00
Wojtek Figat
e1944bce96 Add statically disabled geometry shaders on mobile 2024-03-30 22:08:44 +01:00
Wojtek Figat
369c19bd5d Add statically disabled tessellation on macOS/iOS 2024-03-30 18:46:37 +01:00
Wojtek Figat
b8a287c4d5 Fix Vulkan swapchain init on Android device with more surfaces reported by the driver 2024-03-28 18:08:22 +01:00
Wojtek Figat
51504d0d92 Fix building macOS/iOS with the latest Vulkan SDK 2024-03-24 19:39:16 +01:00
Wojtek Figat
6ccec2f5ff Fix d3d12 warning on initial gpu buffer state 2024-03-20 16:48:15 +01:00
Wojtek Figat
83e8f8cb94 Increase backbuffers support for Vulkan on Linux to 8 2024-03-12 12:39:01 +01:00
Wojtek Figat
b4d3eeb771 Another attempt for Vulkan swapchain setup if minImageCount is larger than VULKAN_BACK_BUFFERS_COUNT 2024-03-12 12:11:03 +01:00