コミットグラフ
58 コミット
作成者 SHA1 メッセージ 日付
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 3a29a14df6 Added sampled texture indexers to 3D texture types 2021-05-11 01:54:37 +02:00
Sergio Pedri 640e612464 Initial draft support for 2D texture sampling 2021-05-11 01:54:37 +02:00
Sergio Pedri 49d73b675f Introduced IPixelShader<TPixel> interface, initial working support 2021-05-11 01:54:37 +02:00
Sergio Pedri 9d41cbf94c Fixed HLSL compilation when using nested struct types 2021-03-11 23:12:09 +01:00
Sergio Pedri 54a8b8a4e8 Enabled rewriting of custom struct captures 2021-03-11 18:24:29 +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 5794b43fe0 Added ThreadIds.Normalized type 2021-03-08 14:25:22 +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 c5aed333af Renamed WarpIds type to GridIds 2021-03-08 00:17:27 +01:00
Sergio Pedri f1277c3bf1 Added single value properties to matrix types 2021-03-05 17:12:57 +01:00
Sergio Pedri 1adde2afb1 Fixed dispatch data loading for matrix types 2021-03-05 15:27:18 +01:00
Sergio Pedri 4d900664a4 Minor code refactoring 2021-03-05 13:07:43 +01:00
Sergio Pedri 30477c9866 Enabled capturing matrix types as shader fields 2021-03-04 17:53:56 +01:00
Sergio Pedri 32ae557a25 Fixed shader data loading for matrix types 2021-03-04 17:45:03 +01:00
Sergio Pedri 7def0e6280 Finished refactoring in source generator for new intrinsics 2021-03-03 19:46:41 +01:00
Sergio Pedri 808dcbdf79 Fixed overload resolution in matrix constructors 2021-03-02 18:08:32 +01:00
Sergio Pedri e2a2fadc0b Enabled HLSL rewriting of matrix types 2021-03-02 17:00:47 +01:00
Sergio Pedri e930c969cb Added diagnostics for non constant matrix swizzling indices 2021-03-02 16:14:12 +01:00
Sergio Pedri a20fcd16ff Fixed rewriting of locals/members with intrinsics names 2021-02-21 20:17:48 +01:00
Sergio Pedri 01623476ff Fixed an issue with some static members 2021-02-18 20:44:40 +01:00
Sergio Pedri 103f3abbe1 Fixed build errors in the unit test projects 2021-02-18 00:37:55 +01:00
Sergio Pedri e278ac8b36 Fixed a crash when handling incorrect group shared fields 2021-02-18 00:11:58 +01:00
Sergio Pedri 417d0af576 Added GroupSize type 2021-01-14 17:53:54 +01:00
Sergio Pedri 073cfa64ab Added WarpIds type 2021-01-13 19:35:04 +01:00
Sergio Pedri 437d4a0688 Added GroupIds class 2021-01-13 19:30:59 +01:00
Sergio Pedri c6aa194749 Switched ThreadIds to static type 2021-01-13 19:07:53 +01:00
Sergio Pedri 80fd4d96e0 Added parsing method for static buffer fields 2021-01-11 20:27:14 +01:00
Sergio Pedri e67d1161f3 Implemented support for GetDimensions properties 2021-01-09 19:38:27 +01:00
Sergio Pedri 2c90b7a92c Implemented source generator support for interfaces 2021-01-06 18:01:03 +01:00
Sergio Pedri 958fa15a11 Added dispatch helpers for normalized texture interfaces 2021-01-06 17:28:55 +01:00
Sergio Pedri b54fb3c7df Added missing normalized texture types 2021-01-04 23:39:12 +01:00
Sergio Pedri aaf8b5cac4 Added support for normalized 2D textures 2021-01-04 23:39:11 +01:00
Sergio Pedri 2b2ec28597 Implemented initial dispatch data loader SG logic 2020-12-29 23:54:05 +01:00
Sergio Pedri c208dc29b1 Enabled shader generation for texture indexer overloads 2020-12-07 17:51:50 +01:00
Sergio Pedri 92817af999 Added vector indexers to ThreadIds type 2020-12-07 12:32:37 +01:00
Sergio Pedri abfe4d815c Fixed ConstantBuffer<T> loading in shaders 2020-12-07 02:37:00 +01:00
Sergio Pedri 05757e4c12 Enabled support for 3D textures in shader generator 2020-12-06 00:24:26 +01:00
Sergio Pedri 71e5c80d84 Enabled loading/dispatch with texture resources 2020-12-03 18:47:36 +01:00
Sergio Pedri c231e8506a Implemented working version of metaprogramming 2020-12-01 14:07:31 +01:00
Sergio Pedri 3f87743427 Removed unnecessary using directives 2020-11-30 01:05:14 +01:00
Sergio Pedri 0723c04b59 Finished support for mapping type names from SG 2020-11-29 23:29:47 +01:00
Sergio Pedri befdd71fbf Fixed ordering of custom struct declarations 2020-11-29 18:04:55 +01:00
Sergio Pedri ba135ef76d Initial version of custom type declarations 2020-11-29 15:55:58 +01:00
Sergio Pedri 83d64d4db8 Added discovery of types in a shader 2020-11-27 19:52:59 +01:00
Sergio Pedri 4c8f233360 Fixed fields generation with nested types 2020-11-27 16:26:52 +01:00
Sergio Pedri 033bed4634 Completed field declaration logic for single type 2020-11-27 13:06:33 +01:00
Sergio Pedri d602cb3b5b Added HlslKnownSizes type 2020-11-27 01:51:24 +01:00
Sergio Pedri 0f9d370455 Fixed incorrect namespaces 2020-11-26 16:34:39 +01:00