summaryrefslogtreecommitdiffstats
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.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/user-guide/09-reflection.md b/docs/user-guide/09-reflection.md
index ff874fb5f..4e810fd1f 100644
--- a/docs/user-guide/09-reflection.md
+++ b/docs/user-guide/09-reflection.md
@@ -137,7 +137,7 @@ If you have a type layout with kind `Array` you can query information about the
```c++
size_t arrayElementCount = typeLayout->getElementCount();
slang::TypeLayoutReflection* elementTypeLayout = typeLayout->getElementTypeLayout();
-sie_t arrayElementStride = typeLayout->getElementStride(category);
+size_t arrayElementStride = typeLayout->getElementStride(category);
```
An array of unknown size will currently report zero elements.
@@ -196,7 +196,7 @@ In the case of a compute shader entry point, you can also query the user-specifi
```c++
SlangUInt threadGroupSize[3];
-entryPoint->getComputeThreadGruopSize(3, &threadGroupSize[0]);
+entryPoint->getComputeThreadGroupSize(3, &threadGroupSize[0]);
```
## Function Reflection