コミットグラフ
390 コミット
作成者 SHA1 メッセージ 日付
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
Sergio Pedri f17c43065e Remove leftover types from initial port 2022-04-24 21:04:10 +02:00
Sergio Pedri 601cd3478e Minor code style tweaks 2022-04-24 21:04:10 +02:00
Sergio Pedri c1e795129e Implement dynamic D2D1 compilation generation 2022-04-24 21:04:09 +02:00
Sergio Pedri 6f39eee106 Rename BuildHlslString to BuildHlslSource 2022-04-24 21:04:09 +02:00
Sergio Pedri 2212b8716d Port base APIs for D2D1 generator 2022-04-24 21:03:46 +02:00
Sergio Pedri 59cd5a9ce3 Move generators to ComputeSharp.Core.SourceGenerators 2022-04-24 21:03:45 +02:00
Sergio Pedri f1918c8348 Add ComputeSharp.Core dependency to downstream projects 2022-04-24 21:03:14 +02:00
Sergio Pedri d605b345df Move code to new ComputeSharp.D2D1Interop project 2022-04-24 21:03:13 +02:00
Sergio Pedri beeb6882b4 Rename CompileShader to Compile 2022-04-24 21:03:12 +02:00
Sergio Pedri 76d9fcc2d8 Simplify AddSource calls in source generators 2022-04-01 15:20:24 +02:00
Sergio Pedri e00d2ec748 Fix build error for CMPS0001 analyzer rule 2022-01-31 16:49:13 +01:00
Sam Harwell 11358ce5c0 Avoid target-typed new for release tracking analyzer
See https://github.com/dotnet/roslyn-analyzers/issues/5828
2022-01-30 19:03:08 -08:00
Sergio Pedri 704e535747 Improve IShader source generator cancellation support 2022-01-30 13:58:37 +01:00
Sergio Pedri 284b632c45 Add global namespace support to source generators 2022-01-30 13:04:01 +01:00
Sergio Pedri f01fc0ebfb Update source generators for non-normalized texture interfaces 2022-01-22 16:47:56 +01:00
Sergio Pedri 9b05770168 Rename pixel interfaces to IRead[Only|Write]NormalizedTextureMD<TPixel> 2022-01-22 15:01:06 +01:00
Sergio Pedri 6779bb5284 Fix ReadOnlyTexture3D<T, TPixel> sampling rewriting 2022-01-17 19:52:43 +01:00
Sergio Pedri 8241e56b55 Fix HLSL generation for early returns in pixel shaders 2022-01-15 17:42:47 +01:00
Sergio Pedri 3e7a3c5b7c Enable source generator support for DispatchAxis 2022-01-05 13:32:21 +01:00
Sergio Pedri 74793ab9f0 Add DispatchAxis type and new [EmbeddedBytecode] attribute 2022-01-05 13:11:29 +01:00
Sergio Pedri 4d51d8d05b Remove unnecessary [Pure] attributes 2021-12-19 17:55:06 +01:00
Sergio Pedri 0508887482 Skip generating full GetDispatchId() when dynamic support is missing 2021-12-19 16:47:34 +01:00
Sergio Pedri 71fad3a8fd Add diagnostic when [EmbeddedBytecode] is missing 2021-12-19 16:47:34 +01:00
Sergio Pedri b9313ca6d8 Skip generating BuildHlslString body when dynamic support is missing 2021-12-19 16:47:34 +01:00
Sergio Pedri 547eff9fd1 Minor code style tweaks 2021-12-19 16:47:34 +01:00