Commit Graph

149 Commits

Author SHA1 Message Date
mafiesto4 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
mafiesto4 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
mafiesto4 933fac6c13 Add Slice to Span and sue it to make code cleaner 2025-01-05 17:41:27 +01:00
mafiesto4 6f04231b31 Rename Vertex Shader input semantic ofBLENDWEIGHT to BLENDWEIGHTS 2025-01-04 21:04:18 +01:00
mafiesto4 4f42fb2302 Update other graphics apis to match missing vertex shader inputs merging 2025-01-04 10:55:55 +01:00
mafiesto4 7b7dd9d142 Improve GPU vertex layout binding in case of missing element from the mesh 2025-01-03 01:09:25 +01:00
mafiesto4 348f17479d Fix name of BlendWeight to BlendWeights for vertex input to match BlendIndices 2025-01-03 01:07:33 +01:00
mafiesto4 80299c8552 Add stride to GPUVertexLayout 2024-12-17 15:58:26 +01:00
mafiesto4 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
mafiesto4 fc4e6f4972 Add GPUVertexLayout to graphics backends 2024-12-13 09:20:01 +01:00
mafiesto4 35e9e048f2 Merge remote-tracking branch 'origin/master' into 1.10 2024-12-10 11:07:31 +01:00
mafiesto4 e3c8d19a9e Fix missing D3D11 stencil ref value 2024-11-26 15:56:08 +01:00
mafiesto4 9d70fd82d6 Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Engine/Networking/NetworkReplicator.cpp
2024-11-22 16:31:18 +01:00
mafiesto4 ee5021d94d Fix regression bugs from 471d5c2a9b 2024-11-20 18:28:47 +01:00
mafiesto4 03fe1f72a3 Fix minor errors 2024-11-20 16:30:23 +01:00
mafiesto4 471d5c2a9b Add stencil support in PSO on DX11 2024-11-20 09:46:10 +01:00
Mateusz Karbowiak db06f4f72e Fixed implicit type conversion for type specialization 2024-10-05 21:22:36 +02:00
mafiesto4 f21b259376 Various fixes after merge with Windows ARM pr 2024-07-25 08:34:51 +02:00
mafiesto4 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
mafiesto4 3296337f40 Add SetStablePowerState for D3D12 when doing shaders profiling 2024-07-19 14:26:19 +02:00
mafiesto4 230c57cca4 Add WinPixEventRuntime for D3D12 to provide GPU profiler event names 2024-07-03 18:30:11 +02:00
mafiesto4 fe0711c3e2 Fix D3D11 to properly flush CB/SRVs when bindings new shaders after CB/SRV was set 2024-07-02 00:55:41 +02:00
mafiesto4 9486466abf Fix D3D11 to properly issue instanced draws even if instance count is 1 2024-07-02 00:54:49 +02:00
mafiesto4 1328e869a9 Fix crash in D3D12 when constant buffer was binded but not updated before the draw 2024-07-02 00:54:17 +02:00
mafiesto4 a377933884 Fix d3d12 build regression 2024-06-19 14:10:23 +02:00
mafiesto4 1cbcddf410 Add IsDebugToolAttached to GPUDevice for detecting gpu debugger tools attached and auto-enable GPU profiler in that case 2024-06-03 09:24:27 +02:00
mafiesto4 bba14d265a Add D3D11 shaders naming for profiling 2024-06-02 22:05:45 +02:00
mafiesto4 59e0b43585 Fix missing DirectX resources naming in Development builds for profiling 2024-06-02 22:05:14 +02:00
GoaLitiuM a716025094 Patch pix3.h for Windows on ARM 2024-06-01 23:23:28 +03:00
GoaLitiuM 2f48521ce7 Fallback to D3D11 devices without debug layers when unavailable 2024-06-01 23:23:25 +03:00
mafiesto4 5f4c57d3eb Fix texture copy into staging one on DX12 and Vulkan 2024-05-28 14:56:38 +02:00
mafiesto4 8a2acd360d Fix GPUTexture::GetData to properly handle volume textures 2024-05-28 14:56:04 +02:00
mafiesto4 9d2dc91920 Add PixelFormat::NV12 2024-05-15 11:14:16 +02:00
mafiesto4 3ebf73ec22 Add video texture format YUY2 2024-04-25 10:26:23 +02:00
mafiesto4 ebe05d4a51 Refactor RenderToolsDX to support new pixel formats properly 2024-04-24 17:35:58 +02:00
mafiesto4 7d92779e99 Merge remote-tracking branch 'origin/master' into 1.9 2024-04-05 21:50:42 +02:00
mafiesto4 84e04de23d Add more improvements to optional tess/geo shaders 2024-04-04 18:35:26 +02:00
mafiesto4 017def29d4 Rename ShadowSamplerPCF to ShadowSamplerLinear 2024-04-03 13:29:45 +02:00
mafiesto4 13a04c2941 Add stencilValue for stencil buffer clearing 2024-04-02 14:56:26 +02:00
mafiesto4 e1944bce96 Add statically disabled geometry shaders on mobile 2024-03-30 22:08:44 +01:00
mafiesto4 369c19bd5d Add statically disabled tessellation on macOS/iOS 2024-03-30 18:46:37 +01:00
mafiesto4 6ccec2f5ff Fix d3d12 warning on initial gpu buffer state 2024-03-20 16:48:15 +01:00
mafiesto4 859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
mafiesto4 eaafb72ca9 Optimize some includes and use automatic serializers for platform settings 2023-11-13 23:54:07 +01:00
mafiesto4 1d41aa01ce Refactor vertex shaders to use GPUShaderProgramVS::InputElement for input layout data 2023-10-26 14:36:02 +02:00
mafiesto4 cbdd6c4964 Add HasDepthClip to GPU Device limits 2023-10-11 10:15:44 +02:00
mafiesto4 9f97787099 Merge remote-tracking branch 'origin/master' into 1.7 2023-09-20 16:02:48 +02:00
mafiesto4 3ede4c2192 Fix typo 2023-09-20 16:02:24 +02:00
mafiesto4 7e81fdbd75 Fix crash when D3D11 backend fails to create shader due to driver failure 2023-09-19 23:45:30 +02:00
mafiesto4 f952a392de Add **stencil buffer** support to GPUPipelineState 2023-06-19 13:46:37 +02:00