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
10c07851cb
Fixed a build error in internal tests
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
b11297b5f5
Merge pull request #126 from Sergio0694/feature/d3d12ma-uma
...
Enabled D3D12MA usage on UMA devices
2021-07-12 13:55:33 +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
d0dc1252f0
Reduced runtime of image processing tests
2021-07-10 22:27:39 +02:00
Sergio Pedri
dae3024cae
Simplified generated file names
2021-07-08 19:21:42 +02:00
Sergio Pedri
87b4d0ae27
Minor code style tweaks
2021-07-08 17:40:53 +02:00
Sergio Pedri
f732917d21
Updated readme with new management loading APIs
2021-05-13 16:19:06 +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
c9ff2c5baf
Minor code refactoring to unit tests
2021-05-13 13:19:33 +02:00
Sergio Pedri
a5f77cbf79
Merge pull request #123 from Sergio0694/feature/wic-decoder
...
WIC-powered image encoding/decoding
2021-05-12 11:58:53 +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
ec647da78b
Added unit test for WIC image loader
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
36d2db8689
Merge pull request #122 from Sergio0694/feature/texture-sampled-indexers
...
Pixel shaders, texture sampling
2021-05-11 18:30:52 +02:00
Sergio Pedri
0cc3f08eec
Fixed handling of exp constants in shaders
2021-05-11 18:13:35 +02:00
Sergio Pedri
37a6e5a7b3
Added unit test for ContouredLayers shader
2021-05-11 01:54:37 +02:00
Sergio Pedri
4f8287cabf
Added ContouredLayers sample shader
2021-05-11 01:54:37 +02:00
Sergio Pedri
828aa8cc01
Added compute/pixel texture sampling test
2021-05-11 01:54:37 +02:00