summaryrefslogtreecommitdiff
path: root/docs/user-guide/09-reflection.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/user-guide/09-reflection.md')
-rw-r--r--docs/user-guide/09-reflection.md1
1 files changed, 0 insertions, 1 deletions
diff --git a/docs/user-guide/09-reflection.md b/docs/user-guide/09-reflection.md
index 973019b13..bf09d04e0 100644
--- a/docs/user-guide/09-reflection.md
+++ b/docs/user-guide/09-reflection.md
@@ -1169,7 +1169,6 @@ Semantics are only relevant for shader parameters that became part of the varyin
A semantic is decomposed into both a name and an index (e.g., `TEXCOORD5` has a name of `"TEXCOORD"` and an index of `5`).
This information can be reflected with `getSemanticName()` and `getSemanticIndex()`:
-```c++
```c++
void printVarLayout(slang::VariableLayoutReflection* varLayout)