Commit Graph

296 Commits

Author SHA1 Message Date
Wojtek Figat
9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
Wojtek Figat
5873c48ed6 Fix dummy vertex buffer on d3d11 and d3d12 to be float4 instead of byte4 2025-04-03 19:09:12 +02:00
Wojtek Figat
fa1469514b Fix binding missing vertex buffer slots to zero data on D3D11 and D3D12 2025-03-26 22:54:00 +01:00
Wojtek Figat
bc4f3668fe Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Engine/Core/Math/Vector3.cpp
#	Source/Engine/Core/Math/Vector3.h
#	Source/Engine/GraphicsDevice/Vulkan/GPUContextVulkan.cpp
#	Source/Engine/GraphicsDevice/Vulkan/GPUDeviceVulkan.cpp
#	Source/Engine/GraphicsDevice/Vulkan/GPUDeviceVulkan.h
2025-03-09 09:23:42 +01:00
Wojtek Figat
8a52fa257b Add logging draw event into in Vulkan error 2025-03-08 14:29:36 +01:00
Wojtek Figat
fef967d4a0 Fix crash on Vulkan when binding dummy buffer as missing uniform buffer
#3000
2025-03-08 14:28:47 +01:00
Wojtek Figat
84f6667105 Fix missing MoltenVK error to be logged only once 2025-03-07 12:52:45 +01:00
Wojtek Figat
0fa88b23c6 Add DriverVersion to GPUAdapter for checking on old GPU drivers 2025-03-07 11:39:54 +01:00
Wojtek Figat
772f7f7fd2 Move GPUDeviceDX::UpdateOutputs to cpp file 2025-03-06 09:00:33 +01:00
Wojtek Figat
a6fb651ff4 Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Engine/Graphics/Materials/MaterialShader.h
2025-02-18 09:19:59 +01: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
Wojtek Figat
d501018feb Add improved GPU crashes reporting 2025-01-24 22:56:52 +01:00
Wojtek Figat
80a44b5f5c Remove old code 2025-01-24 11:08:31 +01:00
Wojtek Figat
e75d7ad257 Fix compilation warnings 2025-01-12 20:30:43 +01:00
Wojtek Figat
647d74af0d Fixes for vertex layouts binding into graphics backend 2025-01-11 22:44:38 +01:00
Wojtek Figat
a1c46d2e6e Add support for up to 4 texture channels when importing meshes
#2667
2025-01-11 22:40:20 +01:00
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
1f294605a3 Add more Vulkan memory layout safety stages 2025-01-08 18:11:47 +01:00
Wojtek Figat
2b2ace0d00 Fixes for Vulkan backend after recent changes 2025-01-08 18:09:45 +01:00
Wojtek Figat
7aa240e5eb Add vertex shader input layout reading via shader compiler reflection to handle missing vertex elements binding when explicit layout got deprecated 2025-01-07 23:26:06 +01:00
Wojtek Figat
db4d7d2a05 **Refactor meshes format to support custom vertex layouts and new flexible api to access mesh data**
#3044 #2667
2025-01-06 22:47:19 +01:00
Wojtek Figat
933fac6c13 Add Slice to Span and sue it to make code cleaner 2025-01-05 17:41:27 +01:00
Wojtek Figat
6f04231b31 Rename Vertex Shader input semantic ofBLENDWEIGHT to BLENDWEIGHTS 2025-01-04 21:04:18 +01:00
Wojtek Figat
4f42fb2302 Update other graphics apis to match missing vertex shader inputs merging 2025-01-04 10:55:55 +01:00
Wojtek Figat
7b7dd9d142 Improve GPU vertex layout binding in case of missing element from the mesh 2025-01-03 01:09:25 +01:00
Wojtek Figat
348f17479d Fix name of BlendWeight to BlendWeights for vertex input to match BlendIndices 2025-01-03 01:07:33 +01:00
Wojtek Figat
80299c8552 Add stride to GPUVertexLayout 2024-12-17 15:58:26 +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
fc4e6f4972 Add GPUVertexLayout to graphics backends 2024-12-13 09:20:01 +01:00
Wojtek Figat
35e9e048f2 Merge remote-tracking branch 'origin/master' into 1.10 2024-12-10 11:07:31 +01:00
Wojtek Figat
e3c8d19a9e Fix missing D3D11 stencil ref value 2024-11-26 15:56:08 +01:00
Wojtek Figat
9d70fd82d6 Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Engine/Networking/NetworkReplicator.cpp
2024-11-22 16:31:18 +01:00
Wojtek Figat
ee5021d94d Fix regression bugs from 471d5c2a9b 2024-11-20 18:28:47 +01:00
Wojtek Figat
03fe1f72a3 Fix minor errors 2024-11-20 16:30:23 +01: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
471d5c2a9b Add stencil support in PSO on DX11 2024-11-20 09:46:10 +01:00
Wojtek Figat
1c2c010ddc Merge branch 'fix/nullable' of https://github.com/mtszkarbowiak/FlaxEngine into mtszkarbowiak-fix/nullable 2024-10-25 15:38:44 +02:00
Wojtek Figat
0b1263a9e2 Disable VK_EXT_tooling_info check for debugger on Linux 2024-10-22 21:54:38 +02:00
Mateusz Karbowiak
6f6348508a Nullable implicit cast fix 2024-10-06 03:09:04 +02:00
Mateusz Karbowiak
db06f4f72e Fixed implicit type conversion for type specialization 2024-10-05 21:22:36 +02:00
Wojtek Figat
f21b259376 Various fixes after merge with Windows ARM pr 2024-07-25 08:34:51 +02:00
Wojtek Figat
dd61d5793c Merge branch 'woa_support' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-woa_support
# Conflicts:
#	Source/ThirdParty/assimp/config.h.in
#	Source/Tools/Flax.Build/Deps/Dependencies/Assimp.cs
2024-07-24 19:03:53 +02:00
Wojtek Figat
3296337f40 Add SetStablePowerState for D3D12 when doing shaders profiling 2024-07-19 14:26:19 +02: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
230c57cca4 Add WinPixEventRuntime for D3D12 to provide GPU profiler event names 2024-07-03 18:30:11 +02:00