summaryrefslogtreecommitdiffstats
path: root/docs/user-guide/10-link-time-specialization.md
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2024-03-01 13:39:25 -0800
committerGitHub <noreply@github.com>2024-03-01 13:39:25 -0800
commitff48854b1133935ecc2d32fc3bc35631d0a68e17 (patch)
tree45ea98428a5bfba761a7e1a9b4204d8e969e5317 /docs/user-guide/10-link-time-specialization.md
parentcc9ada16b3dbbbd85f03faec74afc7bae4b8014c (diff)
Add documentation for debugging. (#3656)
* Add documentation for debugging. * typo
Diffstat (limited to 'docs/user-guide/10-link-time-specialization.md')
-rw-r--r--docs/user-guide/10-link-time-specialization.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/user-guide/10-link-time-specialization.md b/docs/user-guide/10-link-time-specialization.md
index 9f2fea969..4541a6f55 100644
--- a/docs/user-guide/10-link-time-specialization.md
+++ b/docs/user-guide/10-link-time-specialization.md
@@ -155,7 +155,7 @@ void main(uint tid : SV_DispatchThreadID)
}
```
-Again, we can separately compile these modules into binary forms independently with how they will be specialized.
+Again, we can separately compile these modules into binary forms independently from how they will be specialized.
To specialize the shader, we can author a third module that provides a definition for the `extern Sampler` type:
```csharp
@@ -164,7 +164,7 @@ import common;
export struct Sampler : ISampler = FooSampler;
```
-The `=` syntax is a syntacic sugar that expands to the following code:
+The `=` syntax is a syntactic sugar that expands to the following code:
```csharp
export struct Sampler : ISampler