Commit Graph

104 Commits

Author SHA1 Message Date
Wojtek Figat
0ba261d338 Add iOS platform (refactor Mac into shared Apple platform impl) 2023-03-15 20:58:23 +01:00
Wojtek Figat
2930b0ad67 Fix crash in GPU devices init when system has no valid GPU driver installed 2023-03-13 10:25:08 +01:00
Wojtek Figat
9df7489727 Fix using Vulkan SDK header from system when cross-compiling 2023-02-28 15:49:59 +01:00
Wojtek Figat
e3cfe9f009 Add support for using system-installed Vulkan SDK on Linux 2023-02-15 10:34:17 +01:00
Wojtek Figat
45a30990ba Add GPUContext::SetBlendFactor 2023-02-01 11:07:48 +01:00
Wojtek Figat
c46ea56af2 Rename DepthTestEnable to DepthEnable in Graphics PSO to match actual logic 2023-01-31 14:04:00 +01:00
Wojtek Figat
f127bbebe1 Refactor enum flags with __underlying_type and new EnumHasAnyFlags/EnumHasAllFlags
Fixes #832
Closes #886
2023-01-15 12:44:39 +01:00
Wojciech Figat
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
Wojciech Figat
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
Wojciech Figat
67c63f1410 Optimize GPU Resource name to prevent memory allocs when changing name frequently 2023-01-09 22:40:26 +01:00
Wojciech Figat
63e7fb85ec Fix GetNativePtr on Vulkan 2022-12-14 16:16:43 +01:00
Wojciech Figat
79f4dfcaab Add GetNativePtr to GPUAdapter 2022-12-14 16:16:25 +01:00
Wojciech Figat
df82a0f5d0 Add **GPU Memory profiler** to Editor 2022-12-08 16:30:37 +01:00
Wojtek Figat
98c29c4a4e Optimize compilation time 2022-12-03 10:42:58 +01:00
Wojtek Figat
189575efec Add GPUDevice::CreateConstantBuffer for custom constants buffers usage 2022-11-26 21:17:05 +01:00
Wojtek Figat
3abbafa530 Fixes for Vulkan 2022-09-06 22:54:00 +02:00
Wojciech Figat
f221bc6361 Minor improvements 2022-07-07 15:34:15 +02:00
Wojtek Figat
98d8543334 Fix compilation 2022-07-03 15:33:15 +02:00
Wojciech Figat
de2d041e47 Fix warning 2022-07-01 14:10:54 +02:00
Wojciech Figat
07c6c5a841 Fix issues with Vulkan backend when using DDGI 2022-07-01 14:10:01 +02:00
Wojciech Figat
b8ff4ae2e0 Fixes for Vulkan descriptors binding 2022-06-17 10:41:23 +02:00
Wojtek Figat
a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
Wojtek Figat
785f8915b7 Merge remote-tracking branch 'origin/gi' into large-worlds
# Conflicts:
#	Source/Engine/Core/Math/Vector3.h
2022-05-21 19:45:13 +02:00
Wojtek Figat
389dfb44de Fix crash on macOS due to Vulkan timestamp queries error 2022-05-12 18:57:32 +02:00
Wojciech Figat
0a458d94c4 Add support for Volume textures to have residency changed as regular textures 2022-04-21 12:36:16 +02:00
Wojciech Figat
92f5377f70 Merge remote-tracking branch 'origin/master' into gi
# Conflicts:
#	Flax.flaxproj
#	Source/Engine/Core/Math/Vector3.h
#	Source/Engine/Graphics/Textures/GPUTexture.cpp
#	Source/Engine/GraphicsDevice/DirectX/DX11/GPUContextDX11.cpp
#	Source/Engine/Terrain/Terrain.cpp
#	Source/Engine/Tools/ModelTool/ModelTool.Build.cs
#	Source/FlaxEngine.Gen.cs
#	Source/FlaxEngine.Gen.h
2022-03-22 13:00:21 +01:00
Wojciech Figat
9107897b76 Add missing pipeline barriers after Dispatch on Vulkan to prevent race-conditions with UAVs 2022-03-22 12:56:21 +01:00
Wojciech Figat
aa9161a16f Fix some issues 2022-03-22 12:55:33 +01:00
Wojciech Figat
c10cdc3d90 Fix UsedSRsMask/UsedUAsMask when binding arrays to the shader 2022-03-22 12:55:13 +01:00
Wojtek Figat
20075e0fbd Fixes for compilation on Windows for x86 2022-03-02 21:06:21 +01:00
Wojtek Figat
e52cf67447 Fix crash on Vulkan swapchain resize if the previous size was 0 (eg. due to window animation on Windows 11r) 2022-03-02 10:00:06 +01:00
Diewa
d2c252879e Fixes for macOS 2022-02-24 21:42:00 +01:00
Wojciech Figat
afed5a30bc Add ClearUA to GPUContext to clear texture with float values 2022-02-08 19:56:07 +01:00
Wojciech Figat
70ca42794a Add ClearUA to GPUContext to clear texture with float values 2022-02-08 18:06:02 +01:00
Wojciech Figat
526fa5a33d Tweaks for CI 2022-01-17 12:30:03 +01:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
Wojtek Figat
08bebc0f89 Add app packaging for macOS 2022-01-13 18:19:49 +01:00
Wojciech Figat
4486ec3b72 Add Vulkan pipeline cache serialization 2022-01-11 10:49:03 +01:00
Wojtek Figat
2ca070ea3a Use recommended 3 backbuffers on MoltenVK on Mac 2022-01-09 20:12:52 +01:00
Wojtek Figat
7471a819e1 Add Vulkan support for Mac (via MoltenVK) 2022-01-05 10:25:46 +01:00
Wojtek Figat
fd150b3cc1 Add better log for missing GPU for Vulkan 2021-11-21 19:14:32 +01:00
Wojtek Figat
2a2b70f83f Fix regression from d07ca3fcf4
#670
2021-11-17 21:40:07 +01:00
Wojciech Figat
d07ca3fcf4 Add support for older Android devices that don't support R11G11B10 texture format 2021-11-15 16:39:16 +01:00
Wojtek Figat
39c170cb2f Attempt to implement video output modes on Vulkan 2021-10-25 23:31:45 +02:00
Wojtek Figat
eb04fc39ea Optimizations for Vulkan device 2021-10-25 23:31:23 +02:00
Wojtek Figat
949766e3a0 Add GPUContext.ClearUA for buffer and texture with uint format 2021-10-07 14:17:05 +02:00
Wojtek Figat
88cf1bcd28 Refactor UAV slots binding when rendering from PS into UAV 2021-10-07 14:15:45 +02:00
Wojtek Figat
e1d9fbb742 Fix some engine API to be exposed for C++ scripting 2021-09-21 18:23:31 +02:00
Wojtek Figat
53022ff013 Fix code quality issues detected by PVS-Studio 2021-09-21 18:23:31 +02:00
Wojtek Figat
38249c362d Optimize memory allocations in Vulkan backend 2021-07-29 12:39:21 +02:00