Sergio Pedri
0b1b3e3391
Switch to CommunityToolkit.Diagnostics 8.0.0 Preview 1
2022-01-29 18:37:33 +01:00
Sergio Pedri
5c17ea5401
Add app config switch to enable the debug mode
2022-01-29 17:48:19 +01:00
Sergio Pedri
7c39dbba98
Add device removed reason to debug output
2022-01-29 17:47:38 +01:00
Sergio Pedri
8ef486249b
Remove leftover polyfills
2022-01-29 17:11:58 +01:00
Sergio Pedri
276f9da199
Fix computation of compositor refresh rate
...
Cannot use DwmGetCompositionTimingInfo as it fails WACK
2022-01-29 17:11:58 +01:00
Sergio Pedri
ccc491d0e6
Adjust dynamic resolution based on refresh rate
...
This removes the fixed target of 60fps
2022-01-29 17:11:58 +01:00
Sergio Pedri
2c3c428fc9
Add missing trailing dots to exception messages
2022-01-29 12:35:45 +01:00
Sergio Pedri
0d6d890a14
Minor code refactoring
2022-01-27 01:34:28 +01:00
Sergio Pedri
84bc3730b2
Use ComputeContext backend for one-shot APIs
2022-01-27 01:30:59 +01:00
Sergio Pedri
c3d1056a7b
Add ArgumentNullException validation for public params
2022-01-22 18:48:24 +01:00
Sergio Pedri
9cb5c35287
Add missing GraphicsResourceHelper APIs to support new interfaces
2022-01-22 16:47:56 +01:00
Sergio Pedri
c81eecfd64
Add new Transition and AsReadOnly extensions for writeable textures
2022-01-22 16:47:56 +01:00
Sergio Pedri
f01fc0ebfb
Update source generators for non-normalized texture interfaces
2022-01-22 16:47:56 +01:00
Sergio Pedri
4d97f62494
Add readonly wrappers for non-normalized textures
2022-01-22 15:40:42 +01:00
Sergio Pedri
64f60d13bf
Add IReadOnlyTexture[2D|3D]<T> interfaces
2022-01-22 15:08:30 +01:00
Sergio Pedri
9b05770168
Rename pixel interfaces to IRead[Only|Write]NormalizedTextureMD<TPixel>
2022-01-22 15:01:06 +01:00
Sergio Pedri
62a3129046
Fix dynamic resolution when v-sync is enabled
2022-01-21 20:55:12 +01:00
Sergio Pedri
6c21561e6d
Switch resolution manager Create() method to constructor
2022-01-21 20:09:51 +01:00
Sergio Pedri
871f142d90
Minor code refactoring
2022-01-21 20:07:03 +01:00
Sergio Pedri
27646a0833
Fix resolution drop when using dynamic resolution and v-sync
2022-01-21 11:15:18 +01:00
Sergio Pedri
3b586227d6
Fix render stopwatch not stopping in case of exceptions
2022-01-20 23:30:39 +01:00
Sergio Pedri
9bc9c97eaa
Add option to enable v-sync in shader panels
2022-01-20 23:04:41 +01:00
Sergio Pedri
b1fb409f73
Fix base type of custom NotSupportedException types
2022-01-18 11:44:07 +01:00
Sergio Pedri
89da6ebe30
Fix missing double support check in Buffer<T> resources
2022-01-18 11:36:03 +01:00
Sergio Pedri
9c9b28fd7f
Remove implicit state transitions for readonly wrappers
2022-01-17 20:21:29 +01:00
Sergio Pedri
6779bb5284
Fix ReadOnlyTexture3D<T, TPixel> sampling rewriting
2022-01-17 19:52:43 +01:00
Sergio Pedri
d383c4939a
Bug fixes to TextureView[2D|3D], add GetDepthView(int) API
2022-01-17 19:52:43 +01:00
Sergio Pedri
dbf079c793
Fix Texture3D<T, TPixel>.ReadOnly wrapper SRV and state
2022-01-17 19:52:43 +01:00
Sergio Pedri
f523906cc8
Add APIs to load UploadTexture2D<T> from images
2022-01-17 19:52:43 +01:00
Sergio Pedri
5c170a4554
Fix accessors for readonly texture wrappers
2022-01-17 19:52:43 +01:00
Sergio Pedri
e74ad2cd34
Improve XML docs for ReadWriteTexture[2D|3D]<T, TPixel>.AsReadOnly()
2022-01-17 19:52:43 +01:00
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