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
Sergio Pedri
d4eeac8c04
Added draft of new aggregate shader source generator type
2021-07-12 15:58:52 +02:00
Sergio Pedri
b096c70d23
Removed IDxcBlobObject type, code refactoring
2021-07-12 15:58:52 +02:00
Sergio Pedri
a364c676b0
Added ShaderDispatchMetadataLoader type
2021-07-12 15:58:52 +02:00
Sergio Pedri
fdb0f691a2
Added interface APIs to load shader metadata
2021-07-12 15:58:52 +02:00
Sergio Pedri
e432a197a0
Added initial BuildHlslString source generator implementation
...
Not actually working yet, pending other changes to pipeline creation
2021-07-12 15:58:52 +02:00
Sergio Pedri
6302cf005c
Fixed pixel shaders dispatch data loading
2021-07-12 15:58:52 +02:00
Sergio Pedri
43f32ced28
Fixed build error with ambiguous field names
2021-07-12 15:58:52 +02:00
Sergio Pedri
2d200db5ba
Fixed unit test build errors
2021-07-12 15:58:52 +02:00
Sergio Pedri
b386c23742
Switched library code to use new data loader pattern
2021-07-12 15:58:51 +02:00
Sergio Pedri
7e86a23d76
Updated IComputeShaderDataLoaderGenerator to use IShader<TSelf>
2021-07-12 15:58:51 +02:00
Sergio Pedri
8aa02ea0cc
Added IDispatchDataLoader and compute shader loader
2021-07-12 15:58:51 +02:00
Sergio Pedri
2d579758cd
Removed unnecessary hashcode computation
2021-07-12 15:58:51 +02:00
Sergio Pedri
ae07384417
Removed ShaderHashCodeProvider, switched to interface method
2021-07-12 15:58:51 +02:00
Sergio Pedri
bcc3364403
Switched hashcode generator to use IShader<TSelf>.GetDispatchId()
2021-07-12 15:58:51 +02:00
Sergio Pedri
2ed2fc6395
Switched TerraFX.Interop.D3D12MemoryAllocator to NuGet
2021-07-12 13:39:48 +02:00
Sergio Pedri
0ccc87eed3
Minor code style tweaks
2021-07-12 13:39:48 +02:00
Sergio Pedri
acd432a80a
Added missing assertions in AllocatorExtensions
2021-07-12 13:39:48 +02:00
Sergio Pedri
862f9e2cdd
Switched to D3D12MA for all resource allocations
2021-07-12 13:39:48 +02:00
Sergio Pedri
dae3024cae
Simplified generated file names
2021-07-08 19:21:42 +02:00
Sergio Pedri
06aef82470
Renamed texture loading extensions, code refactoring
2021-05-13 15:03:12 +02:00
Sergio Pedri
32be78bbd0
Enabled fast path for WIC loading to/from same format
2021-05-13 13:19:33 +02:00
Sergio Pedri
9463277699
Added extensions to load writeable textures from data
2021-05-12 11:33:05 +02:00
Sergio Pedri
f31ac94bf9
Added extensions to save textures to files
2021-05-12 11:33:05 +02:00
Sergio Pedri
c66ac3fe19
Added extension to load a texture from a buffer
2021-05-12 11:33:05 +02:00
Sergio Pedri
d1a2c667dd
Updated sample and tests to use new texture loading APIs
2021-05-12 11:33:05 +02:00
Sergio Pedri
41d4ae683f
Added new extension to load a texture from an image
2021-05-11 23:00:54 +02:00
Sergio Pedri
903ae95f16
Added draft of internal WIC decoder helpers
2021-05-11 22:32:56 +02:00
Sergio Pedri
0cc3f08eec
Fixed handling of exp constants in shaders
2021-05-11 18:13:35 +02:00
Sergio Pedri
3578f00eb9
Fixed pixel shader dispatching with multiple textures
2021-05-11 01:54:37 +02:00
Sergio Pedri
3a29a14df6
Added sampled texture indexers to 3D texture types
2021-05-11 01:54:37 +02:00
Sergio Pedri
640e612464
Initial draft support for 2D texture sampling
2021-05-11 01:54:37 +02:00