コミットグラフ
165 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 036af516ec Fix new .NET analyzer warnings 2024-08-13 17:33:03 -07:00
Sergio Pedri 60eed206d6 Share operators rewriting with assignment expressions 2024-06-24 19:29:18 -07:00
Sergio Pedri ca46b9a726 Move operator logic to 'HlslOperatorsSyntaxProcessor' 2024-06-24 18:58:43 -07:00
Sergio Pedri c7070d73a0 Handle '>>>' operators in HLSL rewriters 2024-06-23 19:09:10 -07:00
Sergio Pedri b6bcc1c6cc Make 'AllowsUnsafeBlocks' analyzer target attributes 2024-06-16 19:32:08 -07:00
Sergio Pedri 345b13141a Use 'ref readonly' for 'ToManaged' parameter 2024-06-06 20:42:05 -07:00
Sergio Pedri 94a1f85415 Don't rewrite 'ConstantBuffer<T>.Length' 2024-06-05 19:32:00 -07:00
Sergio Pedri 09a020d387 Use 'asfloat' to emit float constants for D2D 2024-06-04 17:35:36 -07:00
Sergio Pedri a5aff06390 Fix all new code style warnings 2024-03-05 10:44:30 -08:00
Sergio Pedri 0eb5f92c4b Update code style to fix build errors 2024-02-18 20:16:44 -08:00
Sergio Pedri 942f3aa50b Add fast-path ConstantBufferSyntaxProcessor APIs 2024-01-01 19:03:15 +01:00
Sergio Pedri f8f2e9c1e6 Use concrete types for all generator mapping fields 2023-12-30 23:12:03 +01:00
Sergio Pedri 2d5d229b43 Add Hlsl.Or intrinsic 2023-12-28 02:23:44 +01:00
Sergio Pedri 10bf8c92d3 Add Hlsl.And intrinsic 2023-12-28 02:22:07 +01:00
Sergio Pedri 622f2cf88a Rename ConditionalSelect intrinsic to Select 2023-12-28 02:16:32 +01:00
Sergio Pedri 88e5315ec7 Update lowering for select() on HLSL 2021 2023-12-27 18:22:12 +01:00
Sergio Pedri 29fee3b59d Wire up support for known named intrinsics 2023-12-27 18:21:36 +01:00
Sergio Pedri 50c6a9435f Add tracking steps to DX12/D2D source generators 2023-12-26 14:45:31 +01:00
Sergio Pedri e276231756 Remove trailing newline to some leftover files 2023-12-25 17:37:17 +01:00
Sergio Pedri 5127ede784 Remove header from generated HLSL sources 2023-12-22 17:36:02 +01:00
Sergio Pedri 83000839dd Handle shader fields of ComputeSharp.Bool type 2023-12-21 18:47:05 +00:00
Sergio Pedri f1e0560053 Support 'this.' expressions in shader custom types 2023-12-21 19:26:26 +01:00
Sergio Pedri 2cb61a3eec Fix sorting of custom type declarations in HLSL 2023-12-21 18:50:30 +01:00
Sergio Pedri a926a1211f Move and rename the HlslSourceHelper type 2023-12-21 18:40:13 +01:00
Sergio Pedri 86b39c28f5 Refactor HlslBytecodeSyntaxProcessor partial constants 2023-12-17 15:09:00 +01:00
Sergio Pedri 2a519c3f51 Add HlslBytecodeSyntaxProcessor shared helper type 2023-12-17 13:31:17 +01:00
Sergio Pedri 9bad2e99db Add double precision support check to DX12 generator 2023-12-17 12:18:41 +01:00
Sergio Pedri f16dcab8fd Add check for double precision in D2D1 generator 2023-12-16 17:34:20 +01:00
Sergio Pedri 1ffa43ed34 Use semicolon token type declarations if possible 2023-12-16 00:04:59 +01:00
Sergio Pedri 4b6edfd070 Handle recursive members when rewriting HLSL 2023-12-14 16:08:09 +01:00
Sergio Pedri b1094ba061 Fix invalid arguments passed to HLSL rewriters 2023-12-14 15:56:08 +01:00
Sergio Pedri 4bbe96af12 Add HlslSourceHelper helper type 2023-12-13 14:22:25 +01:00
Sergio Pedri fb3439556c Use forward declarations wherever possible 2023-12-13 14:22:25 +01:00
Sergio Pedri 0d667a5da0 Use type aliases in DX12/D2D generators to write HLSL 2023-12-12 23:22:37 +01:00
Sergio Pedri 1cc03cdd7b Simplify code in DX12 HLSL generation 2023-12-12 22:47:35 +01:00
Sergio Pedri 6eba10e18b Use collection expressions in more places 2023-12-09 19:28:47 +01:00
Sergio Pedri 2b1b864c8d Add dedicated diagnostic for Math/MathF calls 2023-12-09 18:38:20 +01:00
Sergio Pedri 3b92f3d595 Remove VectorN/Math/MatF HLSL projections 2023-12-09 16:30:30 +01:00
Sergio Pedri b88208a04a Skip generating unnecessary using for constant buffer 2023-12-09 02:06:37 +01:00
Sergio Pedri fb559bab8b Optimize HlslKnownTypes.IsNonLinearMatrixType lookups 2023-12-08 14:05:39 +01:00
Sergio Pedri 263b5e26db Use explicit types for static builder methods 2023-12-08 13:24:19 +01:00
Sergio Pedri 11efdfdb1f Add missing nullability annotation, remove suppression 2023-12-08 13:20:48 +01:00
Sergio Pedri 9bba3e58f6 Centralize leftover TrackType method, simplify code 2023-12-08 13:20:48 +01:00
Sergio Pedri 0e82ce93e3 Optimize lookups for HLSL known types 2023-12-08 13:20:47 +01:00
Sergio Pedri 058db06971 Use collection expressions in more places 2023-12-08 12:54:21 +01:00
Sergio Pedri 745f3ca786 Fix incorrect comment in ConstantBufferSyntaxProcessor 2023-12-08 02:41:23 +01:00
Sergio Pedri e39fa4feaf Flow cancellation token to GetOperation calls 2023-12-06 22:31:47 +01:00
Sergio Pedri 031f2f7948 Flow cancellation token to GetTypeInfo calls 2023-12-06 22:28:16 +01:00
Sergio Pedri bf11fc7620 Move HLSL tracking extensions to HlslSourceRewriter 2023-12-06 22:27:14 +01:00
Sergio Pedri b832874e55 Track [D2DRequiresScenePosition] from external static fields 2023-12-06 21:12:42 +01:00