コミットグラフ
1359 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri f42dc2df10 Minor codegen tweaks to shader dispatch data loader 2021-03-12 00:04:56 +01:00
Sergio Pedri 9d41cbf94c Fixed HLSL compilation when using nested struct types 2021-03-11 23:12:09 +01:00
Sergio Pedri cd8fb59593 Added unit tests for custom struct dispatch data loading 2021-03-11 22:53:18 +01:00
Sergio Pedri 758a19cae5 Fixed alignment of first fields in nested struct types 2021-03-11 22:53:02 +01:00
Sergio Pedri 3b06569dcd Enabled data loading for captured custom struct types 2021-03-11 19:51:25 +01:00
Sergio Pedri 54a8b8a4e8 Enabled rewriting of custom struct captures 2021-03-11 18:24:29 +01:00
Sergio Pedri 243f255699 Merge pull request #110 from Sergio0694/feature/default-intrinsics
Default value intrinsics, globals support, syntax changes
2021-03-11 15:59:12 +01:00
Sergio Pedri 859d8cd0cd Fixed unit test build error, added global variable test 2021-03-11 15:38:14 +01:00
Sergio Pedri 06e7a4aed0 Updated readme with intrinsics/statics notes 2021-03-11 15:38:14 +01:00
Sergio Pedri 94997713da Added unit test for invalid shader static field type 2021-03-11 15:38:14 +01:00
Sergio Pedri b330616aa9 Fixed source generator unit tests 2021-03-11 15:38:13 +01:00
Sergio Pedri 3147e8fade Added diagnostics for shader properties 2021-03-11 15:38:13 +01:00
Sergio Pedri e12169c11e Switched static properties to fields, added globals support 2021-03-11 15:38:13 +01:00
Sergio Pedri cc9cce4e81 Minor tweaks to handwritten intrinsics and XML docs 2021-03-11 15:38:13 +01:00
Sergio Pedri 32d010faab Added polyfills to vector/matrix types in SG project 2021-03-11 15:38:13 +01:00
Sergio Pedri 042d4c7bef Switched matrix types to default returns where needed 2021-03-11 15:38:13 +01:00
Sergio Pedri 5f990055b2 Switched vector types to default returns where needed 2021-03-11 15:38:13 +01:00
Sergio Pedri 01ba13dfe9 Switched supported HLSL intrinsics to default return 2021-03-11 15:38:13 +01:00
Sergio Pedri 5d87fa910b Added opportunistic optimized path for default LUID retrieval 2021-03-11 15:36:35 +01:00
Sergio Pedri f6e950f42e Merge pull request #109 from Sergio0694/sample/fsharp
F# sample
2021-03-11 00:37:13 +01:00
Sergio Pedri 2a45fbcf05 Minor tweaks to the C# and F# local samples 2021-03-11 00:24:28 +01:00
Sergio Pedri bf42e6d398 Added F# sample to GitHub Actions pipeline 2021-03-11 00:07:58 +01:00
Sergio Pedri 19e19a3853 Added readme section on F# support 2021-03-11 00:07:58 +01:00
Sergio Pedri ae9f574324 Added F# sample 2021-03-10 23:27:55 +01:00
Sergio Pedri 23c8680461 Merge pull request #107 from L3tum/patch-1
Fix HlslKnownSize referencing "int" twice
2021-03-10 13:22:35 +01:00
L3tum 230146849e Fix HlslKnownSize referencing "int" twice
On [this line](https://github.com/Sergio0694/ComputeSharp/blob/bd6d4928b3fdd4f6262508eff7093b591d7f94b6/src/ComputeSharp.SourceGenerators/Mappings/HlslKnownSizes.cs#L30) you define the known HLSL type sizes. However, instead of `int` and `uint`, there's `int` twice.
2021-03-10 12:18:34 +01:00
Sergio Pedri bd6d4928b3 Added framerate limit to 60fps in swap chain sample 2021-03-10 00:22:58 +01:00
Sergio Pedri 5978a05521 Added smooth resize to swap chain sample 2021-03-09 23:57:03 +01:00
Sergio Pedri 70ca027a5b Minor improvements to some XML docs 2021-03-09 23:32:54 +01:00
Sergio Pedri a4c0090855 Skipped devices without SM6 support 2021-03-09 23:26:03 +01:00
Sergio Pedri c80a558162 Removed Gpu.IsSupported property 2021-03-09 19:05:19 +01:00
Sergio Pedri dc1a23a447 Fixed some errors in the readme
Closes https://github.com/Sergio0694/ComputeSharp/issues/106
2021-03-09 16:43:31 +01:00
Sergio Pedri 172a588e5e Fixed incorrect signature in Hlsl.Dot 2021-03-09 16:28:33 +01:00
Sergio Pedri 12444bfb48 Merge pull request #104 from Sergio0694/feature/dispatch-ids
Added DispatchSize and ThreadIds.Normalized types
2021-03-08 17:46:00 +01:00
Sergio Pedri f7a0d76652 Added docs on the dispatch info types 2021-03-08 17:32:01 +01:00
Sergio Pedri c5983e2f63 Refactored sample shaders to use DispatchSize 2021-03-08 15:26:13 +01:00
Sergio Pedri 0ff4da8480 Enabled diagnostics for invalid ThreadIds.Normalized usage 2021-03-08 14:42:12 +01:00
Sergio Pedri 1b531f1dd7 Added diagnostics for invalid DispatchSize usage 2021-03-08 14:38:35 +01:00
Sergio Pedri ced4a12afd Minor tweaks to some unit tests 2021-03-08 14:27:37 +01:00
Sergio Pedri 5794b43fe0 Added ThreadIds.Normalized type 2021-03-08 14:25:22 +01:00
Sergio Pedri b7ab492ff1 Minor XML docs improvements 2021-03-08 13:47:33 +01:00
Sergio Pedri 1b8b139c7a Fixed transformation for GroupSize vector properties 2021-03-08 13:42:39 +01:00
Sergio Pedri 1365f963e9 Added DispatchSize type 2021-03-08 13:36:59 +01:00
Sergio Pedri b12c5501a8 Added unit test for GridIds class 2021-03-08 13:09:15 +01:00
Sergio Pedri 55530e02af Code refactoring to source generator unit tests 2021-03-08 00:52:26 +01:00
Sergio Pedri ca81df3a6e Fixed readme link to GitHub Actions tab 2021-03-08 00:19:00 +01:00
Sergio Pedri c5aed333af Renamed WarpIds type to GridIds 2021-03-08 00:17:27 +01:00
Sergio Pedri ebc32be071 Minor code style tweaks 2021-03-07 23:30:24 +01:00
Sergio Pedri db991d004a Improved consistency of invalid context exception messages 2021-03-07 23:24:24 +01:00
Sergio Pedri cedf4ea1a8 Removed incorrect property accessors for vector types 2021-03-07 23:13:27 +01:00