Sergio Pedri
|
fa03a6e612
|
Add leading trivia to all generated sources
// <auto-generated/>
|
2022-09-06 08:38:59 +02:00 |
|
Sergio Pedri
|
579e9786e9
|
Use .g.cs suffix for all generated files
|
2022-09-06 07:57:05 +02:00 |
|
Sergio Pedri
|
10ba55d156
|
Enable [ShaderMethod] support for global functions
|
2022-09-05 01:10:45 +02:00 |
|
Sergio Pedri
|
8c7c659aa3
|
Add texture 1D mappings to source generator
|
2022-08-31 02:31:00 +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
|
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 |
|
Sergio Pedri
|
8bd2f80eae
|
Add cast intrinsics to source generators
|
2022-08-27 01:49:53 +02:00 |
|
Sergio Pedri
|
2de22e1cb3
|
Remove unnecessary using definitions
|
2022-08-20 16:15:40 +02:00 |
|
Sergio Pedri
|
fb1c24a623
|
Fix Interlocked HLSL intrinsics
|
2022-08-18 12:35:45 +02: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
|
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 |
|