Sergio Pedri
9801b500bb
Minor codegen improvements
2022-01-17 00:29:37 +01:00
Sergio Pedri
b55f6bd346
Add ReadWriteTexture3D<T, TPixel>.ReadOnly type
2022-01-17 00:29:37 +01:00
Sergio Pedri
4fce0c1d2d
Add OnDispose() override for readonly wrapper
2022-01-17 00:29:37 +01:00
Sergio Pedri
095c715515
Add ReadWriteTexture2D<T, TPixel>.ReadOnly type
2022-01-17 00:29:37 +01:00
Sergio Pedri
5d66b7fe05
Add ComputeContext.Transition extensions
2022-01-17 00:29:37 +01:00
Sergio Pedri
189da1aa11
Add ResourceState type and internal IGraphicsResource helpers
2022-01-17 00:29:37 +01:00
Sergio Pedri
372de57516
Fix ref returns of readonly types/interfaces
2022-01-16 01:23:41 +01:00
Sergio Pedri
8241e56b55
Fix HLSL generation for early returns in pixel shaders
2022-01-15 17:42:47 +01:00
Sergio Pedri
9437fd971c
Fix Hlsl.Normalize intrinsic overloads
2022-01-15 17:24:10 +01:00
Sergio Pedri
647a3b1463
Merge pull request #190 from SingleAccretion/DynPack
...
Implement packaging for ComputeSharp.Dynamic
2022-01-09 15:15:46 +01:00
SingleAccretion
c8c6c76558
Work around the handling of TFM deps
...
This little wizardry will force Nugetizer to consider both TFMs for packing.
2022-01-09 16:37:52 +03:00
Sergio Pedri
b847b516d7
Optimize IPixel<T, TPixel>.ToPixel() with SSE2, if supported
2022-01-09 10:39:31 +01:00
Sergio Pedri
d15967b92a
Improve XML docs
2022-01-09 10:11:26 +01:00
Sergio Pedri
67138ca14f
Remove unnecessary partial modifier
2022-01-08 19:56:45 +01:00
Sergio Pedri
e0cae90832
Add IPixel<T, TPixel>.ToPixel() API, minor code refactoring
2022-01-08 19:56:45 +01:00
Sergio Pedri
c72b0c7fd2
Remove System.Numerics types from pixel format conversions
2022-01-08 19:56:44 +01:00
Sergio Pedri
c5d4822e9f
Add ComputeContext.Fill APIs
2022-01-08 19:56:44 +01:00
Sergio Pedri
67571a7626
Rename IUnorm<TPixel> to IPixel<T, TPixel>, remove [Obsolete]
...
Also move to the root ComputeSharp namespace
2022-01-08 19:56:44 +01:00
SingleAccretion
1c5eea8be8
Implement packaging for ComputeSharp.Dynamic
...
The idea is very simple: we take advantage of Nugetizer's
behavior for ProjectReferences when packing:
1) They become asset contributors when the referenced project
does not specify PackageId.
2) They become dependencies when the referenced project does
specify PackageId.
So, all we have to do to get ComputeSharp to be a package dependency
of ComputeSharp.Dynamic is reference the corresponding packaging project.
We also take care to specify the correct version via "AdditionalProperties".
2022-01-08 20:30:48 +03:00
Sergio Pedri
b734baa34b
Switch shader runners to use texture-provided device
2022-01-06 22:59:51 +01:00
Sergio Pedri
c5a31efd00
Add IGraphicsResource interface
2022-01-06 22:54:55 +01:00
Sergio Pedri
cb975e552a
Fix resolution scale setting in shader panels
2022-01-06 17:08:53 +01:00
Sergio Pedri
044ddb8648
Add ability for IShaderRunner to skip presenting frames
2022-01-06 01:39:32 +01:00
Sergio Pedri
d406eb4cbc
Skip unnecessary swap chain backbuffers resizes
2022-01-06 01:39:32 +01:00
Sergio Pedri
3e7a3c5b7c
Enable source generator support for DispatchAxis
2022-01-05 13:32:21 +01:00
Sergio Pedri
74793ab9f0
Add DispatchAxis type and new [EmbeddedBytecode] attribute
2022-01-05 13:11:29 +01:00
Sergio Pedri
658c9f527d
Switch default wavefront size to 64
2022-01-05 00:24:32 +01:00
Sergio Pedri
8916bbf0fb
Fix an access violation in the shader panel render loop
2022-01-03 17:48:52 +01:00
Sergio Pedri
10f2663cad
Add rendering events to shader panels
2022-01-03 11:17:42 +01:00
Sergio Pedri
49c5690ff8
Avoid blocking on UI thread in shader panels
2022-01-03 10:23:14 +01:00
Sergio Pedri
d11f524ade
Add AnimatedComputeShaderPanel control
2022-01-02 20:32:40 +01:00
Sergio Pedri
22d429d101
Add initial version of IFrameRequestQueue
2022-01-02 20:32:40 +01:00
Sergio Pedri
28a4ad3b48
Add parameter to IShaderRunner
2022-01-02 20:32:40 +01:00
Sergio Pedri
056e50d899
Code refactoring to SwapChainManager
2022-01-02 20:32:40 +01:00
Sergio Pedri
daf126d50e
Separate support for dynamic resolution
2022-01-02 20:32:40 +01:00
Sergio Pedri
e831cac33b
Fix incorrect signaling during presenting
2022-01-02 20:32:39 +01:00
Sergio Pedri
6e0a6d0796
Move swap chain rendering code to SwapChainManager type
2022-01-02 20:32:39 +01:00
Sergio Pedri
b3338be7dd
Revert multiple frames latency
2022-01-02 20:32:39 +01:00
Sergio Pedri
9a0c27b71e
Fix frame latency management, improve rendering performance
2022-01-01 15:39:18 +01:00
Sergio Pedri
0c32091987
Remove unnecessary using statements
2022-01-01 14:05:03 +01:00
Sergio Pedri
438280ad23
Add checks and exceptions for multiple disposals of ComputeContext
2021-12-30 22:30:25 +01:00
Sergio Pedri
a0428b4887
Remove unnecessary function pointer casts
2021-12-30 22:15:06 +01:00
Sergio Pedri
ff59d3f5ad
Reduce allocations for ComputeContext async execution
2021-12-30 19:20:33 +01:00
Sergio Pedri
c03006aa67
Add IAsyncDisposable to ComputeContext
2021-12-30 17:03:28 +01:00
Sergio Pedri
f7e486eae2
Fix ComputeContext.Clear API for ReadWriteBuffer<T>
2021-12-29 17:07:30 +01:00
Sergio Pedri
8c75a71580
Minor code refactoring
2021-12-29 16:08:26 +01:00
Sergio Pedri
1d138d8aae
Implement texture clear APIs
2021-12-29 15:26:00 +01:00
Sergio Pedri
a9f50c1e46
Add non shader visible descriptor heap setup
2021-12-29 13:12:01 +01:00
Sergio Pedri
2ceb3b83f6
Add initial prototype of Clear APIs
2021-12-28 21:14:49 +01:00
Sergio Pedri
81da448200
Add IGraphicsResource.ValidateAndGetGpuAndCpuDescriptorHandles API
2021-12-28 20:42:20 +01:00