Sergio Pedri
|
eec5404f7c
|
Centralize byte formatting code into shared helper type
|
2022-10-16 05:44:20 -07:00 |
|
Sergio Pedri
|
b9a133b74c
|
Add .this qualifier to all field accesses
|
2022-10-15 09:10:18 -07:00 |
|
Sergio Pedri
|
f2ed8a2d3b
|
More minor code style tweaks (remove extra blank lines, etc.)
|
2022-10-15 09:10:18 -07:00 |
|
Sergio Pedri
|
8be9203a1c
|
Remove unnecessary parentheses
|
2022-10-15 09:10:18 -07:00 |
|
Sergio Pedri
|
d910922ef5
|
Use blocks for all if statements
|
2022-10-15 09:10:18 -07:00 |
|
Sergio Pedri
|
ce1097e7d9
|
Add parentheses for clarity where needed (IDE0048)
|
2022-10-15 09:10:18 -07:00 |
|
Sergio Pedri
|
b2afb88f30
|
Switch methods to block bodies
|
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
|
27c629f3b4
|
Small manual code style tweaks and warning suppressions
|
2022-10-15 09:10:18 -07:00 |
|
Sergio Pedri
|
9343ac7f7b
|
Add explicit discards to all value returning expressions
|
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
|
883d99ca9f
|
Use pooled array builders in all generators
|
2022-10-07 09:14:17 -07:00 |
|
Sergio Pedri
|
4840800566
|
Move SemanticModelProvider type
|
2022-10-07 09:14:17 -07:00 |
|
Sergio Pedri
|
2a62f00019
|
Fix instance methods rewriting for identifier names
|
2022-10-02 17:40:18 +02:00 |
|
Sergio Pedri
|
bddd2a395c
|
Add generator support for struct instance methods
|
2022-10-02 16:09:46 +02:00 |
|
Sergio Pedri
|
9eac3c779d
|
Refactor diagnostic models to be properly equatable
|
2022-09-17 17:58:44 +02:00 |
|
Sergio Pedri
|
d62c459633
|
Remove symbols from ID2D1ShaderGenerator pipeline
|
2022-09-17 16:43:13 +02:00 |
|
Sergio Pedri
|
080011fe8f
|
Share raw multiline string literal formatting logic
|
2022-09-17 12:58:01 +02:00 |
|
Sergio Pedri
|
10ba55d156
|
Enable [ShaderMethod] support for global functions
|
2022-09-05 01:10:45 +02:00 |
|
Sergio Pedri
|
83e2162700
|
Implement operator intrinsics support for compound assignments
|
2022-08-28 22:32:50 +02:00 |
|
Sergio Pedri
|
7a92525b71
|
Implement operator intrinsics support for binary expressions
|
2022-08-28 22:32:49 +02:00 |
|
Sergio Pedri
|
a3b86a8ef8
|
Add HlslKnownOperators type
|
2022-08-28 22:32:49 +02:00 |
|
Sergio Pedri
|
dac1b99f2c
|
Switch some ParseExpression calls to IdentifierName calls
|
2022-08-28 00:23:30 +02:00 |
|
Sergio Pedri
|
581eb40ed1
|
Fix handling of Bool/bool types in shader rewriter
|
2022-08-27 23:04:12 +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
|
8b2af5c62f
|
Enable generators support for parameter matched intrinsics
|
2022-08-27 03:10:49 +02:00 |
|
Sergio Pedri
|
d6502aa38c
|
Add "buffer" and "texture" known keywords
|
2022-08-09 23:46:11 +02:00 |
|
Sergio Pedri
|
7b46a7d527
|
For matching of known sampler methods
|
2022-08-09 17:37:55 +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
|
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
|
eda4bd43ff
|
Share known properties with D2D1 generator, add D2D1 mappings
|
2022-08-08 15:45:44 +02:00 |
|
Sergio Pedri
|
6694c31d63
|
Add more HLSL reserved identifiers
|
2022-06-20 23:51:12 +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
|
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
|
b27c89acc0
|
Add HLSL primitive type names to known keywords
|
2022-04-24 21:04:32 +02:00 |
|
Sergio Pedri
|
e6673bf7c0
|
Rename HlslKnownMembers to HlslKnownProperties
|
2022-04-24 21:04:32 +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
|
c8ca41d4c0
|
Move HlslKnownKeywords to HLSL specific shared 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 |
|