コミットグラフ
96 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri d910922ef5 Use blocks for all if statements 2022-10-15 09:10:18 -07:00
Sergio Pedri 16c0fc9aab Use explicit types everywhere 2022-10-15 09:10:18 -07:00
Sergio Pedri e94636b80c Run dotnet format whitespace 2022-10-15 09:10:18 -07:00
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 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 279c464dc2 Remove unnecessary modifiers for partial types 2022-06-19 02:57:59 +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 03c5585c74 Fix remapping of keyword-named fields in this. expressions 2022-04-27 12:47:11 +02:00
Sergio Pedri 7318f5bd54 Add diagnostic for invalid method calls from shaders 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 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 88a5e75a99 Move HlslKnownMethods 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 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
Sergio Pedri 8241e56b55 Fix HLSL generation for early returns in pixel shaders 2022-01-15 17:42:47 +01:00
Sergio Pedri 5c5c3439cb Remove non-incremental source rewriters 2021-12-08 11:17:06 +01:00
Sergio Pedri b912b4f076 Implement GetNonDynamicHlslSourceInfo() method
This includes the data gathering step for the HLSL rewrite pipeline
2021-12-08 11:17:04 +01:00
Sergio Pedri d8a4a7412d Restore <TreatWarningsAsErrors> and fix warnings 2021-11-20 16:48:18 +01:00
Sergio Pedri ee0d3a7b68 Removed multiline variable declarations 2021-11-06 23:05:49 +01:00
Sergio Pedri d5e3114f7c Refactored code to use file scoped using declarations 2021-10-30 15:11:43 +02:00
Sergio Pedri da786aaf0d Enabled support for var declarations in shaders 2021-07-14 15:32:09 +02:00
Sergio Pedri 6fbcf21f74 Switched source generated files to only use LF line endings 2021-07-12 16:43:43 +02:00
Sergio Pedri 0cc3f08eec Fixed handling of exp constants in shaders 2021-05-11 18:13:35 +02:00
Sergio Pedri 640e612464 Initial draft support for 2D texture sampling 2021-05-11 01:54:37 +02:00
Sergio Pedri 3aeb843023 Removed implicit __z field from pixel shaders 2021-05-11 01:54:37 +02:00
Sergio Pedri 31c7058118 Code refactoring to ExecuteMethodRewriter type 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 e3627a25f9 Fixed SGs fail with symbols from different syntax trees 2021-03-18 13:15:00 +01:00
Sergio Pedri 861da7eb77 Updated packages and fixed analyzer rules in SG project 2021-03-12 12:47:47 +01:00
Sergio Pedri 9d41cbf94c Fixed HLSL compilation when using nested struct types 2021-03-11 23:12:09 +01:00
Sergio Pedri e12169c11e Switched static properties to fields, added globals support 2021-03-11 15:38:13 +01:00
Sergio Pedri 0ff4da8480 Enabled diagnostics for invalid ThreadIds.Normalized usage 2021-03-08 14:42:12 +01:00
Sergio Pedri 1b531f1dd7 Added diagnostics for invalid DispatchSize usage 2021-03-08 14:38:35 +01:00
Sergio Pedri c5aed333af Renamed WarpIds type to GridIds 2021-03-08 00:17:27 +01:00
Sergio Pedri c14c64dbc7 Added syntax rewriter for static constants 2021-03-07 19:27:39 +01:00
Sergio Pedri a3a58e3a89 Added partial file for HLSL rewriter diagnostics 2021-03-07 18:29:25 +01:00
Sergio Pedri 8cd02a300b Added base HLSL rewriter class with shared logic 2021-03-07 18:25:49 +01:00
Sergio Pedri e5bd736edf Fixed rewriting of matrix swizzled indexers 2021-03-04 18:02:07 +01:00
Sergio Pedri 808dcbdf79 Fixed overload resolution in matrix constructors 2021-03-02 18:08:32 +01:00