Commit Graph

52 Commits

Author SHA1 Message Date
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
6f04231b31 Rename Vertex Shader input semantic ofBLENDWEIGHT to BLENDWEIGHTS 2025-01-04 21:04:18 +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
668f3fa68d Update read and write streaming api to use the newest format 2024-12-29 23:00:40 +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
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
19752e4f3b Add storing shader asset includes paths in compact format for portability 2023-11-04 15:26:18 +01:00
Wojtek Figat
1d41aa01ce Refactor vertex shaders to use GPUShaderProgramVS::InputElement for input layout data 2023-10-26 14:36:02 +02:00
Wojtek Figat
677cd4e382 Fix build regression from 6f7f22eb47 2023-10-12 22:29:11 +02:00
Wojtek Figat
6f7f22eb47 Add outputting shader source code in Editor to text file when compilation fails for debugging 2023-10-12 18:57:27 +02:00
Wojtek Figat
734f8bcaf4 Fix shader compilation tracking to check for directory existence 2023-10-08 15:52:36 +02: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
df82a0f5d0 Add **GPU Memory profiler** to Editor 2022-12-08 16:30:37 +01:00
Wojciech Figat
32e052a87b Refactor native Stream serialization to new API 2022-10-20 17:28:12 +02:00
Wojtek Figat
c43f724189 Add reloading materials and particle emitters after shader compilation fail 2022-08-12 22:55:20 +02:00
Wojtek Figat
528a009b6b Merge branch 'fix_dxcompiler_linkage' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-fix_dxcompiler_linkage 2022-07-15 20:36:56 +02:00
Wojciech Figat
b8ff4ae2e0 Fixes for Vulkan descriptors binding 2022-06-17 10:41:23 +02:00
Wojciech Figat
04a7dab7e7 Minor fixes 2022-05-02 10:36:31 +02:00
Wojciech Figat
598876d8e3 Add shader reloading on header file edit for shaders with compilation errors 2022-04-08 13:53:23 +02:00
Wojciech Figat
6196bb31fe Post merge fixes 2022-03-22 13:20:07 +01:00
Wojciech Figat
c10cdc3d90 Fix UsedSRsMask/UsedUAsMask when binding arrays to the shader 2022-03-22 12:55:13 +01:00
8ed7b0f455 Fix wrong library linkage in DirectXShaderCompiler 2022-03-20 18:27:02 +02:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
Wojtek Figat
7471a819e1 Add Vulkan support for Mac (via MoltenVK) 2022-01-05 10:25:46 +01:00
Wojtek Figat
9b991bcfdf Add Editor for Mac impl progress 2021-12-31 17:12:55 +01:00
Wojciech Figat
38606cb43a Add support for exporting pdb files for D3D12 shaders if debug data is enabled 2021-12-07 18:23:07 +01:00
Wojtek Figat
25be2902ac Fixes 2021-10-17 16:01:57 +02:00
Wojtek Figat
6f84bffaad Add profiler events to shader compiler 2021-10-14 11:46:02 +02:00
Wojtek Figat
ea05fa8f69 Fix shader parsing error due to unknown macro used on shader function visibility condition 2021-10-14 11:07:42 +02:00
Wojtek Figat
48a867ef16 Add PS5 platform defines and types 2021-10-08 16:25:16 +02:00
Wojtek Figat
bdd2dbb719 Fix shader unction visibility parsing and add USE_EDITOR define to material shaders 2021-10-07 11:43:11 +02:00
Wojtek Figat
c3fe366be8 Improvements and tweaks 2021-10-05 21:54:24 +02:00
Wojtek Figat
b300793009 Add UAV slots dimensions to cache for D3D12 validation 2021-06-08 15:18:04 +02:00
Wojtek Figat
f4c8808d19 Add SRV slots isage info for D3D12 shaders cache 2021-06-07 12:19:49 +02:00
Wojtek Figat
fa1cd56a0d Optimize Vulkan shader compiler memory allocation 2021-06-07 11:56:41 +02:00
Wojtek Figat
0a25b71437 Fix GPU particles on Vulkan
#478
2021-05-17 13:41:08 +02:00
Wojtek Figat
0e75dba142 Optimize C++ compilation time 2021-04-30 16:27:57 +02:00
Wojtek Figat
5a9ca6f130 Merge remote-tracking branch 'origin/1.1' into linux-editor
# Conflicts:
#	Source/Engine/Core/Math/BoundingSphere.cs
#	Source/Engine/Debug/DebugDraw.cpp
#	Source/Engine/Platform/Win32/Win32Platform.cpp
#	Source/Engine/Platform/Win32/Win32Platform.h
2021-02-23 22:32:17 +01:00
Wojtek Figat
c25abfda65 Remove ProjectInfo.h include from Editor.h 2021-02-19 09:36:23 +01:00
mafiesto4
c7547b3a46 Merge remote-tracking branch 'origin/master' into linux-editor 2021-01-10 09:14:03 +01:00
mafiesto4
efa5d05f5f Fixes for building editor for Linux 2021-01-05 16:23:02 +01:00
Wojtek Figat
336a3bd484 Move shader source code length adjustment to the main compilation routine 2021-01-05 14:25:38 +01:00
Wojtek Figat
bd3f2b3019 Update DirectXShaderCompiler to 1.6 2021-01-05 14:16:57 +01:00
Jean-Baptiste Perrier
03eb39afe6 Bumping all copyright headers to 2021. 2021-01-02 14:28:49 +01:00
Wojtek Figat
e5286510d1 Fix reaming opengl leftovers 2020-12-31 16:56:09 +01:00
Wojtek Figat
5e469a0ae3 Remove deprecated and unsued OpenGL backend 2020-12-30 11:27:37 +01:00