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
40d3cd0182
Add unit tests for ComputeContext.Transition API
...
Also test 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
44e28ebd49
Merge pull request #195 from Sergio0694/feature/ref-returns
...
Fix ref returns of readonly types/interfaces
2022-01-17 00:29:21 +01:00
Sergio Pedri
372de57516
Fix ref returns of readonly types/interfaces
2022-01-16 01:23:41 +01:00
Sergio Pedri
e99dbcbee3
Merge pull request #194 from Sergio0694/bugfix/shader-misc
...
Bugfix/shader misc
2022-01-15 23:33:20 +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
7788efa2d2
Merge pull request #192 from Sergio0694/feature/improved-pixel-types
...
ComputeContext.Fill APIs, new IPixel<T, TPixel> interface
2022-01-08 21:23:14 +01:00
Sergio Pedri
67138ca14f
Remove unnecessary partial modifier
2022-01-08 19:56:45 +01:00
Sergio Pedri
34450b270f
Add unit tests for ComputeContext.Fill APIs
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
a0eb6427eb
Fix unit tests
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
Sergio Pedri
c8cf7a5097
Merge pull request #191 from Sergio0694/feature/igraphicsresource-interface
...
IGraphicsResource interface
2022-01-08 19:56:26 +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
b1d0ffd030
Bump UWP sample app version to 0.0.7
2022-01-06 17:26:25 +01:00
Sergio Pedri
cb975e552a
Fix resolution scale setting in shader panels
2022-01-06 17:08:53 +01:00
Sergio Pedri
d430fbc4dc
Add Microsoft Store link to UWP sample app
2022-01-06 02:37:29 +01:00
Sergio Pedri
fee6033757
Update copyright year
2022-01-06 02:24:14 +01:00
Sergio Pedri
3ac903e241
Merge pull request #189 from Sergio0694/feature/shader-panel-improvements
...
ShaderPanel improvements
2022-01-06 02:17:29 +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
4f671acf92
Merge pull request #188 from Sergio0694/feature/sample-app-analytics
...
Add AppCenter analytics to UWP sample app
2022-01-06 01:39:13 +01:00
Sergio Pedri
66994c6333
Enable analytics in UWP sample app
2022-01-06 00:41:31 +01:00
Sergio Pedri
c06594c0d0
Minor code refactoring
2022-01-05 21:19:05 +01:00
Sergio Pedri
cb9c0d9b7b
Fix build error in WinUI 3 sample app
2022-01-05 20:55:54 +01:00
Sergio Pedri
c8d597018a
Add analytics service base setup to UWP sample app
2022-01-05 20:49:38 +01:00
Sergio Pedri
1477e50c01
Merge pull request #187 from Sergio0694/feature/default-wavefront-size
...
Add DispatchAxis option for [EmbeddedBytecode]
2022-01-05 14:55:43 +01:00
Sergio Pedri
9151abd061
Add diagnostics tests for [EmbeddedBytecode(DispatchAxis)]
2022-01-05 13:37:26 +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