181 Commits

Author SHA1 Message Date
35678b06a8 Merge branch 'api_macro_consistency' into signalgame2 2025-02-26 20:09:31 +02:00
bddd1b0984 Merge branch 'sdl_platform' into signalgame2 2025-02-26 20:09:27 +02:00
e2e77385b1 Fix missing semicolons 2025-02-26 20:09:26 +02:00
64cceac913 Enable transparency support in Vulkan swapchains
(cherry picked from commit 431a69e357)
2025-02-02 18:38:06 +02:00
Wojtek Figat
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
Wojtek Figat
44fae3838e Add GPUResourceUsage.Staging for both CPU read/write access 2025-01-30 20:39:04 +01:00
f318d3aadc Implement SDL platform, windowing and input handling 2025-01-28 22:09:08 +02: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
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
fbc648302d Fix timer queries reset before use on Vulkan 2024-07-02 00:53:45 +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
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
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
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
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