コミットグラフ
2671 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 87ea2139b2 Merge pull request #369 from Sergio0694/dev/mul-operators
Add GLSL-style mul() operators to HLSL primitives
2022-08-28 23:56:35 +02:00
Sergio Pedri e66fd0f88f Add unit tests for GLSL-style operators rewriting 2022-08-28 22:32:50 +02:00
Sergio Pedri 83e2162700 Implement operator intrinsics support for compound assignments 2022-08-28 22:32:50 +02:00
Sergio Pedri 488f1912fc Add scalar promotion multiplication operators for Float/Int types
This avoids overload resolution conflicts with the mul() operators
2022-08-28 22:32:50 +02:00
Sergio Pedri 1daf6338df Remove mul() operators overriding scalar promotion multiplications 2022-08-28 22:32:49 +02:00
Sergio Pedri 7a92525b71 Implement operator intrinsics support for binary expressions 2022-08-28 22:32:49 +02:00
Sergio Pedri 25fb3a3318 Add missing using directive and fix property names 2022-08-28 22:32:49 +02:00
Sergio Pedri a3b86a8ef8 Add HlslKnownOperators type 2022-08-28 22:32:49 +02:00
Sergio Pedri 0aae5f847b Add RequiresParametersMapping to mul() operators 2022-08-28 22:32:49 +02:00
Sergio Pedri e368d8b764 Add [HlslIntrinsicName("mul")] to new intrinsic operators 2022-08-28 22:32:49 +02:00
Sergio Pedri 5b00df867b Add mul() operators to Float/Int intrinsic matrix types 2022-08-28 22:32:49 +02:00
Sergio Pedri 9e16f9a7e2 Add mul() operators to Float/Int intrinsic types 2022-08-28 22:32:49 +02:00
Sergio Pedri f0ee13e243 Move mul() overload info to separate .ttinclude file 2022-08-28 22:32:49 +02:00
Sergio Pedri 1da016a847 Merge pull request #368 from Sergio0694/dev/transfer-buffer-double-support-checks
Add double feature support check to TransferBuffer<T> constructor
2022-08-28 14:40:59 +02:00
Sergio Pedri a850b1f206 Add unit tests for TransferBuffer<T> with no double support 2022-08-28 01:56:14 +02:00
Sergio Pedri a441ce5e6f Add double feature support in TransferBuffer<T> ctor 2022-08-28 01:55:59 +02:00
Sergio Pedri ca17662bfb Merge pull request #366 from Sergio0694/dev/restore-ci-tests
Restore CI tests now that main is not on C# preview
2022-08-28 01:40:37 +02:00
Sergio Pedri c1f4f18eb0 Restore CI tests now that main is not on C# preview
This reverts ab16a2ccb7
2022-08-28 01:03:09 +02:00
Sergio Pedri 6bfdb758ac Merge pull request #367 from Sergio0694/dev/fix-boost-cast-formatting
Switch some ParseExpression calls to IdentifierName calls
2022-08-28 01:02:54 +02:00
Sergio Pedri dac1b99f2c Switch some ParseExpression calls to IdentifierName calls 2022-08-28 00:23:30 +02:00
Sergio Pedri 96c0c911f5 Merge pull request #365 from Sergio0694/dev/fix-bool-marshalling
Fix bool types marshalling and rewriter handling
2022-08-27 23:42:36 +02:00
Sergio Pedri 74a7c1e3e5 Cast to Bool when loading bool-s in dispatch data loaders 2022-08-27 23:04:13 +02:00
Sergio Pedri 797d06cdb7 Normalize bool HLSL types to use int-s as backing storage 2022-08-27 23:04:12 +02:00
Sergio Pedri 581eb40ed1 Fix handling of Bool/bool types in shader rewriter 2022-08-27 23:04:12 +02:00
Sergio Pedri 4db6360924 Add unit tests for bool values in dispatch data and custom struct types 2022-08-27 23:04:12 +02:00
Sergio Pedri 1e3611a060 Prevent bool fields in custom struct types in shaders
These are not allowed due to alignment reasons
2022-08-27 16:50:22 +02:00
Sergio Pedri f68d56fcec Merge pull request #364 from Sergio0694/dev/hlsl-cast-intrinsics
Add HLSL intrinsics to cast to/from bool types
2022-08-27 03:44:09 +02:00
Sergio Pedri 8b2af5c62f Enable generators support for parameter matched intrinsics 2022-08-27 03:10:49 +02:00
Sergio Pedri 24ed41afa4 Add HlslIntrinsicNameAttribute.RequiresParametersMatching property 2022-08-27 03:10:49 +02:00
Sergio Pedri 57e3bb5fd7 Move IsExternalInit to ComputeSharp.Core.NetStandard 2022-08-27 03:10:49 +02:00
Sergio Pedri ab747f4b80 Add unit tests for bool intrinsics 2022-08-27 03:10:49 +02:00
Sergio Pedri 8bd2f80eae Add cast intrinsics to source generators 2022-08-27 01:49:53 +02:00
Sergio Pedri 2a28fd93a3 Minor code refactoring 2022-08-27 01:08:09 +02:00
Sergio Pedri 31b8c7bc48 Add HLSL intrinsics to convert from bool 2022-08-27 01:03:29 +02:00
Sergio Pedri 7f99e59b12 Add HLSL intrinsics to convert to bool 2022-08-27 01:00:57 +02:00
Sergio Pedri 3adf7341d0 Use wildcards to import T4 files in .csproj 2022-08-27 00:37:40 +02:00
Sergio Pedri faef95d5f4 Merge pull request #363 from Sergio0694/dev/bool-bitwise-operators
Add HLSL bool operators
2022-08-26 02:17:44 +02:00
Sergio Pedri dbd7fc092e Add bool bitwise operators to Bool type 2022-08-25 03:29:59 +02:00
Sergio Pedri b2180713fc Add unit tests for HLSL bool operators 2022-08-25 03:26:21 +02:00
Sergio Pedri 80a300c8d9 Add bitwise operators to bool HLSL types 2022-08-25 03:12:07 +02:00
Sergio Pedri b954632bf2 Merge pull request #362 from Sergio0694/dev/hlsl-intrinsic-improvements
Add HLSL bitwise operators
2022-08-25 02:12:37 +02:00
Sergio Pedri 43cc4f8cca Add unit tests for bitwise HLSL operators 2022-08-25 01:34:32 +02:00
Sergio Pedri 25191af0af Add bitwise operators to HLSL matrix types 2022-08-25 01:11:16 +02:00
Sergio Pedri 4ad7bba4b8 Add bitwise operators to HLSL vector types 2022-08-25 00:46:25 +02:00
Sergio Pedri 97447fbc68 Move TrueN and OneN properties to T4 templates 2022-08-24 23:56:18 +02:00
Sergio Pedri f5c4e6aacd Move True/False and One/Zero properties to T4 templates 2022-08-24 23:40:15 +02:00
Sergio Pedri 2de22e1cb3 Remove unnecessary using definitions 2022-08-20 16:15:40 +02:00
Sergio Pedri 076607efe8 Merge pull request #359 from Sergio0694/dev/update-nuget-packages
Update nuget packages
2022-08-20 15:27:08 +02:00
Sergio Pedri 09fbd2f081 Merge pull request #360 from Sergio0694/dev/fix-command-list-gc-holes
Fix GC holes in CommandList and GraphicsDevice execute logic
2022-08-20 15:26:46 +02:00
Sergio Pedri 534046a5d3 Remove pinning in CommandList.GetD3D12CommandListPinnableAddressOf() 2022-08-20 14:51:17 +02:00