Commit Graph

234 Commits

Author SHA1 Message Date
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
Wojtek Figat
a4e693b6a6 Fix small GPU buffer update on Vulkan if data size align up overflows buffer size 2024-03-12 10:01:04 +01:00
Wojtek Figat
9d0b659520 Use default backbuffers for Vulkan if maxImageCount is 0 2024-03-11 23:56:02 +01:00
Wojtek Figat
fef2e09915 Another fix attemp for vulkan driver on Linux 2024-03-08 13:12:55 +01:00
Wojtek Figat
816fb9da6f Fix crash on Vulkan Swapchain init if GPU driver reports different image count 2024-03-07 20:41:53 +01:00
Wojtek Figat
14902dc29e Merge remote-tracking branch 'origin/master' into 1.8
# Conflicts:
#	Flax.flaxproj
2024-02-26 19:49:39 +01:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
17361d6bc1 Revert some VUlkan backend changes to fix regression on Metal devices 2024-02-07 12:16:11 +01:00
Wojtek Figat
5b8846c8f0 Update Vulkan backend 2024-02-05 18:45:01 +01:00
Wojtek Figat
8488a8d387 Add support for stencil buffer on Vulkan and D3D11/D3D12 2024-02-01 14:47:17 +01:00
Wojtek Figat
7fd6c43f84 Add more profier events to Vulkan backed 2024-01-30 18:45:34 +01:00
Wojtek Figat
320024399d Add support for overriding some defaults for GPU per-platform 2024-01-30 15:43:39 +01:00
Wojtek Figat
bb00d29098 Codestyle fixes and optimizations 2024-01-29 13:46:50 +01:00
Wojtek Figat
1b33a2aa0d Optimize render targets freeing on the start of the game 2024-01-28 23:11:24 +01:00
Wojtek Figat
53a2ebbd17 Add more ASTC texture formats with larger block sizes 2023-12-20 15:12:12 +01:00
Wojtek Figat
8eb68a905e Add initial ASTC pixel format support 2023-12-15 13:38:03 +01:00
Wojtek Figat
c8dd2c045c Simplify sorting arrays code 2023-12-01 13:57:34 +01:00
Wojtek Figat
eaafb72ca9 Optimize some includes and use automatic serializers for platform settings 2023-11-13 23:54:07 +01:00
Wojtek Figat
1d41aa01ce Refactor vertex shaders to use GPUShaderProgramVS::InputElement for input layout data 2023-10-26 14:36:02 +02:00
Wojtek Figat
cbdd6c4964 Add HasDepthClip to GPU Device limits 2023-10-11 10:15:44 +02:00
Wojtek Figat
ccf3469307 Minor Vulkan tweaks 2023-10-10 14:17:34 +02:00
Wojtek Figat
09f2be907e Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Flax.flaxproj
2023-10-09 12:40:47 +02:00
Wojtek Figat
481a3cfba5 Minor tweaks 2023-10-08 23:33:51 +02:00
Wojtek Figat
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
Wojtek Figat
b9198fc7a1 Merge remote-tracking branch 'origin/master' 2023-10-02 12:54:41 +02:00
Wojtek Figat
8bafdb0b78 Remove std::function usage from ArrayExtensions 2023-10-02 12:52:44 +02:00
Wojtek Figat
41f005f95b Fix typo from 17291a8a13 2023-10-02 12:49:02 +02:00
Wojtek Figat
17291a8a13 Fix Cannot find compatible metal driver on macOS due to the newest Vulkan SDK regression
#1469
2023-10-02 12:48:14 +02:00