Sergio Pedri
855305cb69
Switched to int.TryFormat in ArrayPoolStringBuilder
2021-10-30 15:11:43 +02:00
Sergio Pedri
964c79e51c
Switched projects to .NET 6 and C# 10
2021-10-30 15:11:43 +02:00
Adam Dernis
accb41ab9e
Added missing mappable methods to HlslKnownMethods
2021-10-22 12:30:53 +02:00
Sergio Pedri
d935bc1a09
Reduced thread contention with parallel dispatches
2021-08-01 13:39:58 +02:00
Sergio Pedri
f180dd9cd8
Enabled high performance GPU devices enumeration
2021-07-30 14:14:35 +02:00
Sergio Pedri
6913a35881
Added IDXGIFactory4 fallback layer, enabled IDXGIFactory6
2021-07-30 14:09:34 +02:00
Sergio Pedri
6cf50eb159
Removed cached delegate when no query is needed
2021-07-29 11:25:53 +02:00
Sergio Pedri
5c32501fd5
Added [SkipLocalsInit] to generated methods, if possible
2021-07-22 23:34:57 +02:00
Sergio Pedri
bbb42e5367
Switched generated methods to explicit interface implementations
2021-07-21 14:09:22 +02:00
Sergio Pedri
56b326a6e4
Refactored internal IShader<TSelf> interface
2021-07-21 14:09:22 +02:00
Sergio Pedri
ed20c56fd7
Minor code tweaks
2021-07-20 01:14:26 +02:00
Sergio Pedri
d23c46ade7
Updated dxcompiler.dll and dxil.dll
2021-07-18 22:40:43 +02:00
Sergio Pedri
65812a422b
Fixed a crash when disposing faulted resources
2021-07-18 14:45:55 +02:00
Sergio Pedri
740420ddcd
Fixed NativeObject.Dispose() logic for GraphicsDevice instances
2021-07-18 14:24:21 +02:00
Sergio Pedri
bee668f2f8
Improved concurrency support for native resource disposal
2021-07-18 14:24:21 +02:00
Sergio Pedri
df970a5e40
Fixed resource disposing after owning device
2021-07-18 14:21:57 +02:00
Sergio Pedri
c7f7eac265
Added ReferenceCountPtr<T> type, code refactoring
2021-07-18 14:21:57 +02:00
Sergio Pedri
f7f99ad2fd
Enabled reproducible builds
2021-07-18 14:16:36 +02:00
Sergio Pedri
04eb31e1ee
Enabled source link
2021-07-18 13:26:39 +02:00
Sergio Pedri
e441d5834d
Fixed race condition in GraphicsDevice.ExecuteCommandList
2021-07-17 18:19:45 +02:00
Sergio Pedri
11a1414517
Removed SetPipelineState call when dispatching shaders
2021-07-17 17:50:31 +02:00
Sergio Pedri
013a518f3d
Fixed missing call to SetDescriptorHeaps for reused lists
2021-07-17 15:44:33 +02:00
Sergio Pedri
3e6c6e6fe5
Fixed incorrect command allocator reset during execution
2021-07-17 14:02:41 +02:00
Sergio Pedri
ede3f9bbce
Migrated code to use new pooled command lists
2021-07-17 14:02:41 +02:00
Sergio Pedri
51dcb2491f
Added ID3D12CommandListPool type
2021-07-17 14:02:41 +02:00
Sergio Pedri
c2f6dd7361
Removed some unnecessary defensive copies
2021-07-16 13:31:21 +02:00
Sergio Pedri
a16b15eeca
Updated NuGet packages
2021-07-15 13:20:04 +02:00
Sergio Pedri
423b2ffd63
Fixed static fields in discovered types
2021-07-15 12:42:38 +02:00
Sergio Pedri
09c9c48fd7
Fixed shader compilation error from external namespaces
2021-07-14 20:30:51 +02:00
Sergio Pedri
06111edacb
Enabled methods import for captured delegates
2021-07-14 19:58:13 +02:00
Sergio Pedri
8e0db58a19
Fixed processing of discovered methods for [SourceMethod]
2021-07-14 17:26:05 +02:00
Sergio Pedri
4db77f72b0
Enabled types import for captured delegates
2021-07-14 16:09:24 +02:00
Sergio Pedri
da786aaf0d
Enabled support for var declarations in shaders
2021-07-14 15:32:09 +02:00
Sergio Pedri
4c50309bdd
Enabled constants import for captured delegates
2021-07-13 20:19:56 +02:00
Sergio Pedri
fdc06c2b45
Added setup to support imported delegate members mapping
2021-07-13 14:07:51 +02:00
Sergio Pedri
9a3a33298f
Minor code refactoring, removed unnecessary attributes
2021-07-13 13:35:16 +02:00
Sergio Pedri
c40bdf0a26
Remove unnecessary ArrayPoolStringBuilder public methods
2021-07-13 13:35:16 +02:00
Sergio Pedri
b0db306f57
Aggregated HLSL source building statements
2021-07-12 22:03:32 +02:00
Sergio Pedri
ce5e9703cd
Enabled initial support for shader metaprogramming
2021-07-12 20:21:56 +02:00
Sergio Pedri
f2c1b79b6a
Restored code generation for [ShaderMethod] attribute
2021-07-12 17:42:24 +02:00
Sergio Pedri
6fbcf21f74
Switched source generated files to only use LF line endings
2021-07-12 16:43:43 +02:00
Sergio Pedri
632cd6faf5
Fixed constant buffers registration in HLSL source
2021-07-12 15:58:52 +02:00
Sergio Pedri
2e1bb04f8c
Fixed HLSL source processing of captured resources
2021-07-12 15:58:52 +02:00
Sergio Pedri
13ef2009e8
Added missing XML docs
2021-07-12 15:58:52 +02:00
Sergio Pedri
8a764c36de
Optimized HLSL source building with target size hint
2021-07-12 15:58:52 +02:00
Sergio Pedri
56b0b758fa
Changed ref kind for ArrayPoolStringBuilder type in IShader<TSelf>
...
This will allow generated code to request an approximated target size from the shared buffer pool, and reduce or eliminate the number of times the target buffer needs to be resized while building the HLSL source
2021-07-12 15:58:52 +02:00
Sergio Pedri
5fdee964da
Fixed shader dispatching with new architecture
2021-07-12 15:58:52 +02:00
Sergio Pedri
7552dd5189
Removed legacy shader loading code
2021-07-12 15:58:52 +02:00
Sergio Pedri
f8207f11ff
Removed previous individual source generators for shaders
2021-07-12 15:58:52 +02:00
Sergio Pedri
a5a4a77e65
Implemented source generator logic for LoadDispatchMetadataMethod
2021-07-12 15:58:52 +02:00