コミットグラフ
415 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri ae23529485 Remove some HLSL rewriting duplicated code 2022-08-09 17:37:55 +02:00
Sergio Pedri 945f6514b8 Update HLSL rewriters to use new Sample APIs 2022-08-09 17:37:55 +02:00
Sergio Pedri 0dd0bd587a Move known samplers to HlslKnownMethods type 2022-08-09 17:37:55 +02:00
Sergio Pedri 4edc0dc3c3 Use new extension to check [SkipLocalsInit] accessibility 2022-08-09 16:11:25 +02:00
Sergio Pedri 3e6aedaed1 Move StaticFieldRewriter to shared file 2022-08-09 13:37:20 +02:00
Sergio Pedri 7e5e695c2a Move ShaderSourceRewriter to shared file 2022-08-09 13:25:22 +02:00
Sergio Pedri baffb8fccb Move HlslSourceRewriter to shared file 2022-08-09 12:54:14 +02:00
Sergio Pedri 71f148fc1a Move HlslSourceRewriter.Diagnostics to shared file 2022-08-09 12:38:27 +02:00
Sergio Pedri b28d3f2500 Add D2D1 resource texture types to HlslKnownTypes 2022-08-08 15:45:44 +02:00
Sergio Pedri eda4bd43ff Share known properties with D2D1 generator, add D2D1 mappings 2022-08-08 15:45:44 +02:00
Sergio Pedri b51b002a3a Cleanup the D2D1 generator constant buffer code
Also bumps the maximum constant buffer size
2022-08-08 01:33:38 +02:00
Sergio Pedri 279c464dc2 Remove unnecessary modifiers for partial types 2022-06-19 02:57:59 +02:00
Sergio Pedri a62f8ec774 Fix build error in ComputeSharp with C# preview 2022-06-05 13:55:49 +02:00
Sergio Pedri 94b40e5d61 Handle keywords in field names for custom types 2022-06-05 13:37:22 +02:00
Sergio Pedri f66342d212 Minor optimization to float literal rewriting 2022-05-29 23:14:25 +02:00
Sergio Pedri f2c9478631 Fix rewriting of integer double literals 2022-05-29 17:19:52 +02:00
Sergio PedriとAshley 772553852c Use pattern matching to check parse options
Co-authored-by: Ashley <[email protected]>
2022-05-29 03:25:40 +02:00
Sergio Pedri 398ec17fb3 Use raw multiline string literals in DX12 generator as well 2022-05-29 03:25:40 +02:00
Simona Koníčková 1465b5fd9d Use GetText instead of ToFullString 2022-05-28 03:14:22 +02:00
Sergio Pedri ee16303aeb Fix constants tracking when rewriting shader fields 2022-05-04 23:28:08 +02:00
Sergio Pedri 4bbe394f55 Skip implicitly declared fields from all generated methods 2022-04-29 12:58:19 +02:00
Sergio Pedri 1ef6040e58 Tweak properties detection to block all field backed ones 2022-04-29 12:58:19 +02:00
Sergio Pedri 459517a181 Enable shaders to inherit shader interfaces 2022-04-29 12:58:19 +02:00
Sergio Pedri 3bf77618e4 Exclude explicit interface implementations in shaders 2022-04-29 12:58:19 +02:00
Sergio Pedri 03c5585c74 Fix remapping of keyword-named fields in this. expressions 2022-04-27 12:47:11 +02:00
Sergio Pedri b9127acb36 Fix source generators when using some non-US locales 2022-04-26 18:56:00 +02:00
Sergio Pedri d51c0f5bf0 Add additional diagnostics for invalid shader discovered types 2022-04-24 21:04:33 +02:00
Sergio Pedri 7318f5bd54 Add diagnostic for invalid method calls from shaders 2022-04-24 21:04:33 +02:00
Sergio Pedri e1d823a833 Improve HLSL build error diagnostics for DX12 package 2022-04-24 21:04:33 +02:00
Sergio Pedri 14fa96998f Add support for NaN/infinity constants for float/double 2022-04-24 21:04:33 +02:00
Sergio Pedri e6673bf7c0 Rename HlslKnownMembers to HlslKnownProperties 2022-04-24 21:04:32 +02:00
Sergio Pedri ee01ddd9db Minor optimization to diagnostics for HLSL errors 2022-04-24 21:04:32 +02:00
Sergio Pedri a5088788c4 Fix diagnostics for HLSL build generator errors 2022-04-24 21:04:32 +02:00
Sergio Pedri d0dfd82f06 Add ID2D1Shader.InitializeFromDispatchData API to support transforms 2022-04-24 21:04:31 +02:00
Sergio Pedri fd9d8a6f65 Disable shader compilation if any errors are present 2022-04-24 21:04:30 +02:00
Sergio Pedri 9609cb6607 Reduce code duplication for type hierarchy generation 2022-04-24 21:04:29 +02:00
Sergio Pedri 910df14429 Fix partial type generation for nested non-class types 2022-04-24 21:04:29 +02:00
Sergio Pedri a1ab03f48c Add support for "this." field accesses 2022-04-24 21:04:28 +02:00
Sergio Pedri ba0cb5c00f Move HlslKnownKeywords to shared generation project 2022-04-24 21:04:28 +02:00
Sergio Pedri f35c76dcb9 Move HlslKnownTypes to shared generation project 2022-04-24 21:04:28 +02:00
Sergio Pedri 88a5e75a99 Move HlslKnownMethods to shared generation project 2022-04-24 21:04:28 +02:00
Sergio Pedri 5a478d68ab Move HlslKnownSizes to shared generation project 2022-04-24 21:04:28 +02:00
Sergio Pedri 31cfdd9eca Move HLSL extensions to new shared project 2022-04-24 21:04:28 +02:00
Sergio Pedri 33235d68c8 Move HlslKnownKeywords to shared generation project 2022-04-24 21:04:28 +02:00
Sergio Pedri 6b0c1161c8 Streamline equality comparison of generation models 2022-04-24 21:04:27 +02:00
Sergio Pedri 6e247639ed Move common models to shared generation project 2022-04-24 21:04:27 +02:00
Sergio Pedri 4cc849f245 Move DiagnosticsExtensions to shared generation project 2022-04-24 21:04:27 +02:00
Sergio Pedri aaf8392785 Move SemanticModelProvider to shared generation project 2022-04-24 21:04:27 +02:00
Sergio Pedri 9a51331910 Move common extensions to shared generation project 2022-04-24 21:04:27 +02:00
Sergio Pedri ae717681c4 Move domain specific code to HlslKnownTypes 2022-04-24 21:04:10 +02:00