Skip to content

Commit 0fa207a

Browse files
authored
Update DXIL.rst (#7254)
Minor grammar fixes
1 parent 31a2f58 commit 0fa207a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/DXIL.rst

Lines changed: 7 additions & 7 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

@@ -3294,9 +3294,9 @@ Modules and Linking
32943294
===================
32953295

32963296
HLSL has linking capabilities to enable third-party libraries. The linking step happens before shader DXIL is given to the driver compilers.
3297-
Experimental library generation is added in DXIL1.1. A library could be created by compile with lib_6_1 profile.
3298-
A library is a dxil container like the compile result of other shader profiles. The difference is library will keep information for linking like resource link info and entry function signatures.
3299-
Library support is not part of DXIL spec. Only requirement is linked shader must be valid DXIL.
3297+
Experimental library generation is added in DXIL1.1. A library could be created by compiling with the lib_6_1 profile.
3298+
A library is a dxil container like the compile result of other shader profiles. The difference is a library will keep information for linking like resource link info and entry function signatures.
3299+
Library support is not part of the DXIL spec. The only requirement is that the linked shader must be valid DXIL.
33003300

33013301

33023302
Additional Notes

0 commit comments

Comments
 (0)