Commit Graph

191 Commits

Author SHA1 Message Date
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
Wojtek Figat
1156f72fbe Add versions sorting to VulkanSDK selection on macOS 2023-10-02 12:40:37 +02:00
Wojtek Figat
70f0fbe954 Fix crash on Vulkan when drawing shader without binding proper constant Buffer
#1289
2023-10-02 11:37:24 +02:00
Wojtek Figat
9f97787099 Merge remote-tracking branch 'origin/master' into 1.7 2023-09-20 16:02:48 +02:00
Wojtek Figat
3ede4c2192 Fix typo 2023-09-20 16:02:24 +02:00
Wojtek Figat
7e81fdbd75 Fix crash when D3D11 backend fails to create shader due to driver failure 2023-09-19 23:45:30 +02:00
Wojtek Figat
32d9067710 Fix build 2023-07-19 09:08:17 +02:00
Wojtek Figat
f952a392de Add **stencil buffer** support to GPUPipelineState 2023-06-19 13:46:37 +02:00
Wojtek Figat
a6353c0bb9 Rename GPUPipelineState::Description::PrimitiveTopologyType to PrimitiveTopology 2023-06-19 11:53:40 +02:00
Wojtek Figat
7fc3b264ac Improve DX12 PSO debug name building 2023-06-19 11:21:53 +02:00
Wojtek Figat
1c9d8aa470 Add GPUContext::SetStencilRef to stencil reference value 2023-06-19 11:21:35 +02:00
Wojtek Figat
26f4574358 Various improvements for iOS 2023-06-11 14:56:46 +02:00
Wojtek Figat
0eadf2de1e Fix visual glitches on MoltenVK (macOS, iOS) 2023-06-11 00:49:48 +02:00
Wojtek Figat
007edb4651 Merge commit '2c809389ad7d8953b10e7ab3b1b29aca4d072116' into 1.6 2023-06-01 01:06:27 +02:00
Wojtek Figat
3953e6ddc0 Merge commit 'f2ecefb7ee9b9e6c5daac9f44fe40ebdccbb1c76' into 1.6 2023-06-01 01:06:14 +02:00
Wojtek Figat
c46f78885e Refactor iOS deployment to use XCode project 2023-06-01 00:46:39 +02:00
3e848d93da Fix DXGIFactory use after release 2023-05-29 22:22:59 +03:00
Wojtek Figat
81ae687238 Merge remote-tracking branch 'origin/master' into 1.6 2023-05-28 16:34:38 +02:00
4e683dcc15 Clean up DXGIFactory after use on D3D12 2023-05-26 20:17:30 +03:00
bdf6a11491 Prefer high-performance discrete GPUs when enumerating adapters 2023-05-26 20:05:32 +03:00
Wojtek Figat
d13c722ce3 Optimize text formatting in various places 2023-05-09 13:44:32 +02:00
Wojtek Figat
6aaa5832a8 Fix crash when updating GPU texture residency to 0 2023-04-26 15:00:07 +02:00
Wojtek Figat
cf6b9b7ab5 Fix crash when updating GPU texture residency to 0 2023-04-26 14:59:36 +02:00
Wojtek Figat
91c017713c Merge remote-tracking branch 'origin/master' into 1.6 2023-04-13 12:12:33 +02:00
Wojtek Figat
b0966c9114 Add logging PixelFormat as string instead of integer value for better readability 2023-04-13 10:31:40 +02:00
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
679757942f Fix GPU Buffer Map/Unmap pair to prevent stall if map fails on DX11
#942
2023-02-17 16:28:48 +01:00
Wojtek Figat
8b050cf87e Use D3D11_MAP_FLAG_DO_NOT_WAIT only from main thread (worker threads can wait for data)
#942
2023-02-17 11:08:12 +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
c878c613c7 Update consoles building 2023-02-05 23:48:11 +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
0595f38fe4 Fix threading issues with GPU buffers mapping 2023-01-09 22:41:06 +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
713aa3e0f9 Add SetResourceState and ForceRebindDescriptors to GPUContext for integration with external rendering libraries 2022-12-14 16:16:02 +01:00
Wojciech Figat
a809a69ca0 Fixes for GPU resources C# object types 2022-12-09 11:28:39 +01:00
Wojciech Figat
df82a0f5d0 Add **GPU Memory profiler** to Editor 2022-12-08 16:30:37 +01:00