Skip to content

Commit 274b04e

Browse files
authored
Update DXIL.rst
Minor grammar fixes
1 parent 9a06f4d commit 274b04e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/DXIL.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,10 +225,10 @@ DXIL uses 32-bit pointers in its representation.
225225
Out-of-bounds behavior
226226
----------------------
227227

228-
Indexable thread-local accesses are done via LLVM pointer and have C-like OOB semantics.
229-
Groupshared accesses are done via LLVM pointer too. The origin of a groupshared pointer must be a single TGSM allocation.
230-
If a groupshared pointer uses in-bound GEP instruction, it should not OOB. The behavior for an OOB access for in-bound pointer is undefined.
231-
For groupshared pointer from regular GEP, OOB will has same behavior as DXBC. Loads return 0 for OOB accesses; OOB stores are silently dropped.
228+
Indexable thread-local accesses are done via LLVM pointers and have C-like OOB semantics.
229+
Groupshared accesses are done via LLVM pointers too. The origin of a groupshared pointer must be a single TGSM allocation.
230+
If a groupshared pointer uses an in-bound GEP instruction, it should not OOB. The behavior for an OOB access for in-bound pointer is undefined.
231+
For a groupshared pointer from regular GEP, OOB will have the same behavior as DXBC. Loads return 0 for OOB accesses; OOB stores are silently dropped.
232232

233233
Resource accesses keeps the same out-of-bounds behavior as DXBC. Loads return 0 for OOB accesses; OOB stores are silently dropped.
234234

0 commit comments

Comments
 (0)