Sergio Pedri
|
3515c4402b
|
Add diagnostic for invalid D2D1 resource texture element type
|
2022-08-10 22:15:18 +02:00 |
|
Sergio Pedri
|
97a87500e2
|
Update D2D1 mappings for generic resource texture types
|
2022-08-10 22:15:18 +02:00 |
|
Sergio Pedri
|
3471d6233b
|
Make D2D1 resource texture types generic
|
2022-08-10 22:15:18 +02:00 |
|
Sergio Pedri
|
dc5260ea42
|
Match for Float4 return for D2D entry point
|
2022-08-10 15:25:07 +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
|
9df9c57a67
|
Move NeedsD2DRequiresScenePositionAttribute down
|
2022-08-09 12:41:54 +02:00 |
|
Sergio Pedri
|
71f148fc1a
|
Move HlslSourceRewriter.Diagnostics to shared file
|
2022-08-09 12:38:27 +02:00 |
|
Sergio Pedri
|
3e3d7fa36f
|
Implement HLSL rewriting for resource texture size properties
|
2022-08-09 00:33:07 +02:00 |
|
Sergio Pedri
|
30fcb8675d
|
Implement HLSL rewriting for resource texture indexers
|
2022-08-09 00:22:27 +02:00 |
|
Sergio Pedri
|
53411903c1
|
Fix incorrect [D2DRequiresScenePosition] name in diagnostic
|
2022-08-09 00:22:05 +02:00 |
|
Sergio Pedri
|
6bda02c86f
|
Remove unnecessary code
|
2022-08-09 00:22:05 +02:00 |
|
Sergio Pedri
|
01549c6846
|
Implement HLSL generation for resource textures
|
2022-08-09 00:22:05 +02:00 |
|
Sergio Pedri
|
675bb94b7c
|
Fix resource texture index generator with missing attributes
|
2022-08-08 15:45:45 +02:00 |
|
Sergio Pedri
|
21328f54a5
|
Add diagnostic for missing [D2DResourceTextureIndex] attribute
|
2022-08-08 15:45:45 +02:00 |
|
Sergio Pedri
|
a3635b09d9
|
Add diagnostics for invalid [D2DResourceTextureIndex] uses
|
2022-08-08 15:45:45 +02:00 |
|
Sergio Pedri
|
fdc69ed292
|
Add diagnostics for invalid resource texture setups
|
2022-08-08 15:45:44 +02:00 |
|
Sergio Pedri
|
8b42c7011e
|
Initial implementation of LoadResourceTextureDescriptions generator
|
2022-08-08 15:45:44 +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
|
a854aead17
|
Add D2D1PixelShader.GetResourceTextureDescriptions API
|
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
|
55ad39b817
|
Tweak diagnostics, add SampleInputAtPosition checks too
|
2022-08-07 18:04:24 +02:00 |
|
Sergio Pedri
|
5777e17e03
|
Add diagnostic for missing [D2DRequiresScenePosition]
|
2022-08-07 17:59:33 +02:00 |
|
Sergio Pedri
|
279c464dc2
|
Remove unnecessary modifiers for partial types
|
2022-06-19 02:57:59 +02:00 |
|
Sergio Pedri
|
ddea0e8514
|
Fix generator with out of range simple inputs
|
2022-06-06 23:21:48 +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
|
f2e4dac552
|
Add extra LF in shaders with no captured values
|
2022-05-29 03:25:40 +02:00 |
|
Sergio Pedri
|
989f346555
|
Add missing LF between include and defined constants
|
2022-05-29 03:25:40 +02:00 |
|
Sergio Pedri
|
502baaca03
|
Use raw multiline string literals for generated HLSL source
This is optionally enabled when C# preview is used
|
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
|
f49831567e
|
Use AttributeData for [D2DCompileOptions] assembly diagnostics
|
2022-05-27 18:37:35 +02:00 |
|
Sergio Pedri
|
7411c1fe0d
|
Add diagnostics for [D2DCompileOptions] at assembly level
|
2022-05-24 22:10:15 +02:00 |
|
Sergio Pedri
|
f5ea4b7911
|
Allow D2D1 attributes at assembly level
|
2022-05-24 02:36:39 +02:00 |
|
Sergio Pedri
|
59b4b13062
|
Add missing global:: prefix in generated LoadBytecode method
|
2022-05-23 00:40:42 +02:00 |
|
Sergio Pedri
|
d75993107a
|
Wire up [D2D1CompileOptions] to all generated code and public APIs
Also removes the diagnostics for invalid linking setup
|
2022-05-22 15:50:28 +02:00 |
|
Sergio Pedri
|
b4b8b76d2f
|
Wire up [D2D1CompileOptions] to [D2D1EmbeddedBytecode]
|
2022-05-22 01:50:14 +02:00 |
|
Sergio Pedri
|
0bfe836a4e
|
Capture D2D1CompileOptions in source generator
|
2022-05-22 01:40:09 +02:00 |
|
Sergio Pedri
|
77c43a819e
|
Optimize diagnostics flow in D2D1 source generator
|
2022-05-22 01:39:42 +02:00 |
|
Sergio Pedri
|
a3a0425419
|
Add D2DCompileOptionsAttribute type
|
2022-05-22 01:17:35 +02:00 |
|
Sergio Pedri
|
e5c24bc9d7
|
Code refactoring in internal D3DCompiler APIs
|
2022-05-20 21:47:07 +02:00 |
|