Commit Graph

63 Commits

Author SHA1 Message Date
Wojtek Figat
cbdd6c4964 Add HasDepthClip to GPU Device limits 2023-10-11 10:15:44 +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
a6353c0bb9 Rename GPUPipelineState::Description::PrimitiveTopologyType to PrimitiveTopology 2023-06-19 11:53:40 +02:00
Wojtek Figat
1c9d8aa470 Add GPUContext::SetStencilRef to stencil reference value 2023-06-19 11:21:35 +02:00
3e848d93da Fix DXGIFactory use after release 2023-05-29 22:22:59 +03:00
bdf6a11491 Prefer high-performance discrete GPUs when enumerating adapters 2023-05-26 20:05:32 +03:00
Wojtek Figat
6aaa5832a8 Fix crash when updating GPU texture residency to 0 2023-04-26 15:00:07 +02: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
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
a809a69ca0 Fixes for GPU resources C# object types 2022-12-09 11:28:39 +01:00
Wojtek Figat
835a230323 Refactor material shaders to use separate constant buffer (slot 1) for shared per-view constants 2022-11-27 12:06:31 +01:00
Wojtek Figat
189575efec Add GPUDevice::CreateConstantBuffer for custom constants buffers usage 2022-11-26 21:17:05 +01:00
Wojtek Figat
f37ed16270 Optimize GPUBuffer on D3D11 to not stall CPU on reading staging readback buffer 2022-11-01 21:31:42 +01:00
Wojtek Figat
73d0fc4973 Fix UWP build 2022-09-06 19:35:11 +02:00
Wojtek Figat
a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40: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
db0cb04b83 Merge remote-tracking branch 'origin/master' into gi 2022-04-11 10:37:23 +02:00
Wojtek Figat
c7c6acfc78 Fix DirectX crash when profiling with RenderDoc
#698
2022-04-10 14:38:15 +02:00
Wojciech Figat
5fc9cb154b Fix typo 2022-04-05 17:22:03 +02:00
Wojciech Figat
2b9a03d9bc Post-merge fixes 2022-03-28 20:04:29 +02:00
6e6f2859ab Fix switching to fullscreen mode in D3D11/D3D12 flip presentation modes 2022-03-26 16:48:46 +02:00
GoaLitiuM
33fe5e7518 Fix uninitialized values and release COM resources after use 2022-03-17 21:25:56 +02:00
GoaLitiuM
e794911755 Enable flip presentation mode and tearing in D3D11 2022-03-17 21:25:56 +02:00
Wojciech Figat
311b95b9fc Add support for using mipmaps with 3D textures 2022-02-14 14:37:04 +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
bac8058aa8 Fix depth pitch in UpdateTexture on D3D11 for volume textures 2022-02-08 19:56:03 +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
9a3a6c8a72 Fix depth pitch in UpdateTexture on D3D11 for volume textures 2022-02-08 18:05:20 +01:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
Wojciech Figat
4b9001abf2 Fix spot lights rendering on D3D12 2021-12-07 18:23:06 +01:00
Wojtek Figat
883a829590 Fix missing copy destination offset in dynamic buffer update on D3D11 2021-10-27 10:25:07 +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
782d29f427 Merge branch 'xboxone' of git://github.com/honzapatCZ/FlaxEngine into honzapatCZ-xboxone 2021-08-26 12:44:53 +02:00
Wojtek Figat
f49e20bdb5 Revert unneeded and breaking change from D3D11 context state clearing
Ref: f5a6a18232
2021-07-24 16:23:55 +02:00
honzapatCZ
c17d86a134 removal of old XboxOneStuff 2021-07-21 15:10:39 +02:00
Wojtek Figat
3c1fd427eb Add support for programmable samplers in shaders 2021-06-28 15:56:32 +02:00
Wojtek Figat
971449bef1 Cleanup some GPU code 2021-06-28 14:08:44 +02:00
Wojtek Figat
f5a6a18232 Fix stability on exit or when doing heavy resources streaming stress tests 2021-06-18 15:20:39 +02:00