コミットグラフ
2695 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 15c0201325 Add test for CS0649 suppressor for D2D1 resource textures 2022-09-03 23:35:06 +02:00
Sergio Pedri 44bf98cfa0 Add D2D1ResourceTextureUninitializedFieldDiagnosticSuppressor 2022-09-03 23:34:52 +02:00
Sergio Pedri cbd385242a Merge pull request #372 from Sergio0694/dev/texture1d
Add Texture1D<T> and Texture1D<T, TPixel> types
2022-09-01 03:10:50 +02:00
Sergio Pedri 46bd6c46e6 Remove unnecessary modifiers 2022-09-01 02:27:24 +02:00
Sergio Pedri 2528c0a069 Add range tests for Texture1D<T> 2022-09-01 02:27:11 +02:00
Sergio Pedri a79e777064 Add Texture1D<T, TPixel> sampling tests 2022-09-01 01:55:33 +02:00
Sergio Pedri 429dca7b16 Add Texture1D<T, TPixel> tests 2022-09-01 00:52:56 +02:00
Sergio Pedri 62f12ed510 Add missing GraphicsDeviceExtensions test extensions 2022-09-01 00:51:14 +02:00
Sergio Pedri f46f924f08 Add TransferTexture1DTests unit tests 2022-08-31 03:00:48 +02:00
Sergio Pedri d3476684fc Add unit tests for 1D texture dimension accessors 2022-08-31 02:34:33 +02:00
Sergio Pedri 8c7c659aa3 Add texture 1D mappings to source generator 2022-08-31 02:31:00 +02:00
Sergio Pedri 8c5ce3a1d7 Add extensions for 1D textures 2022-08-31 02:14:03 +02:00
Sergio Pedri 892e5f17f7 Add GraphicsResourceHelper APIs for 1D textures 2022-08-31 02:14:03 +02:00
Sergio Pedri dbebf47a68 Add InteropServices APIs for 1D textures 2022-08-31 02:14:03 +02:00
Sergio Pedri da37129503 Add normalized 1D texture types 2022-08-31 02:14:03 +02:00
Sergio Pedri 0d924830d9 Add interfaces for 1D texture types 2022-08-31 02:14:03 +02:00
Sergio Pedri 3e8d751b28 Add Read[Only|Write]Texture1D<T> types 2022-08-31 02:14:02 +02:00
Sergio Pedri 61d85829cb Add Texture1D<T> type 2022-08-31 02:14:02 +02:00
Sergio Pedri 0b6d2b0ddf Add readback and upload transfer texture 1D types 2022-08-31 02:14:02 +02:00
Sergio Pedri 4d0bab3890 Add TransferTexture1D<T> type 2022-08-31 02:14:02 +02:00
Sergio Pedri 7b6aa5ad97 Merge pull request #371 from Sergio0694/dev/resource-dimensions-tests
Add unit tests for resource dimension accessors
2022-08-31 02:13:32 +02:00
Sergio Pedri 040d273f10 Remove dimensions test for ConstantBuffer<T>
Accessing the dimension from a shader is not supported
2022-08-30 02:43:56 +02:00
Sergio Pedri f6af39e36c Add generated tests for all resource dimension accessors 2022-08-30 02:34:17 +02:00
Sergio Pedri 54bdec1792 Use T4 wildcards in ComputeSharp.Tests project 2022-08-30 00:56:53 +02:00
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