Commit Graph

56 Commits

Author SHA1 Message Date
Wojtek Figat
99788e4743 More fixes for Vulkan rendering to be on pair with DirectX when it comes to accessing missing vertex buffer components 2025-01-09 21:46:22 +01:00
Wojtek Figat
2b2ace0d00 Fixes for Vulkan backend after recent changes 2025-01-08 18:09:45 +01:00
Wojtek Figat
b3f37ca041 Refactor Vertex Shader input vertex layout to use GPUVertexLayout defined on Vertex Buffer rather than Vertex Shader
#3044 #2667
2024-12-15 22:10:45 +01:00
Wojtek Figat
666efb7675 Fix incorrect dummy GPU Buffer format when binding missing resource to Vulkan descriptor 2024-12-13 14:56:20 +01:00
Wojtek Figat
20704ef9dd Fix stencil usage in Vulkan 2024-11-20 16:15:54 +01:00
Wojtek Figat
5f4c57d3eb Fix texture copy into staging one on DX12 and Vulkan 2024-05-28 14:56:38 +02:00
Wojtek Figat
13a04c2941 Add stencilValue for stencil buffer clearing 2024-04-02 14:56:26 +02: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
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
8488a8d387 Add support for stencil buffer on Vulkan and D3D11/D3D12 2024-02-01 14:47:17 +01:00
Wojtek Figat
bb00d29098 Codestyle fixes and optimizations 2024-01-29 13:46:50 +01: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
70f0fbe954 Fix crash on Vulkan when drawing shader without binding proper constant Buffer
#1289
2023-10-02 11:37:24 +02:00
Wojtek Figat
1c9d8aa470 Add GPUContext::SetStencilRef to stencil reference value 2023-06-19 11:21:35 +02:00
Wojtek Figat
45a30990ba Add GPUContext::SetBlendFactor 2023-02-01 11:07:48 +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
63e7fb85ec Fix GetNativePtr on Vulkan 2022-12-14 16:16:43 +01:00
Wojciech Figat
df82a0f5d0 Add **GPU Memory profiler** to Editor 2022-12-08 16:30:37 +01:00
Wojtek Figat
3abbafa530 Fixes for Vulkan 2022-09-06 22:54:00 +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
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
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
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
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01: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
53022ff013 Fix code quality issues detected by PVS-Studio 2021-09-21 18:23:31 +02:00
Wojtek Figat
bf67c62311 Add GPUContextVulkan::CopySubresource 2021-07-06 15:47:39 +02:00
Wojtek Figat
3c1fd427eb Add support for programmable samplers in shaders 2021-06-28 15:56:32 +02:00
Wojtek Figat
f582ca5051 Add dynamic textures streaming based on visibility 2021-06-18 14:41:44 +02:00
Wojtek Figat
3d4309457b Improve stability of Vulkan and D3D12 backends on large worlds 2021-06-10 17:01:07 +02:00
Wojtek Figat
cc47cb85e4 Cleanup renderer code 2021-06-07 11:56:04 +02:00
Wojtek Figat
ead65f01ff Optimize Vulkan Framebuffer when not using color blending 2021-05-18 11:56:21 +02:00
Wojtek Figat
9cba6bad6d Add support for rendering into 3d textures on Vulkan
#136
2021-05-18 11:40:38 +02:00
Wojtek Figat
0a25b71437 Fix GPU particles on Vulkan
#478
2021-05-17 13:41:08 +02:00
Jean-Baptiste Perrier
b4a870933a Revert IndirectDrawCount. 2021-05-16 17:23:52 +02:00
Jean-Baptiste Perrier
3fc7073046 DrawInstancedIndirect & DrawIndexedInstanceIndirect impl. 2021-04-24 14:29:38 +02:00