Skip to content

Commit

Permalink
Add documentation for buffer types (shader-slang#5410)
Browse files Browse the repository at this point in the history
* Add documentation for buffer types

* address comments

* Update doc for LoadxAligned functions

Update the doc for all Load{2,3,4}Aligned and LoadxAligned<T> functions of
buffer type. We assume that those aligned version of Load{2,3,4} and
Load<T> will treat the whole buffer as type of unit{2,3,4} or T,
so the address must be aligned to size of the loaded type.

---------

Co-authored-by: Yong He <[email protected]>
  • Loading branch information
kaizhangNV and csyonghe authored Oct 28, 2024
1 parent 0432907 commit 0557a19
Showing 1 changed file with 311 additions and 34 deletions.
Loading

0 comments on commit 0557a19

Please sign in to comment.