File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 665665
666666\Sec {Constant Buffers}{Resources.cnbuf}
667667
668- Constant buffer represent a resource that contains read-only constant data in a specific memory layout.
668+ Constant buffers represent resources that contain read-only constant data in a
669+ well-defined memory layout.
669670
670671\Sub {Constant Buffer Declaration Block}{Resources.cnbuf.cb}
671672
672- \p Constant buffer can be declared using the \texttt {cbuffer } specifier.
673+ \p A constant buffer can be declared using the \texttt {cbuffer } specifier.
673674
674675\begin {grammar }
675676 \define {cbuffer-declaration-group}\br
762763
763764\Sub {Constant Buffer Layout}{Resources.cnbuf.lay}
764765
765- \p Constant buffer is arranged like an array of 16-byte rows, or 4-component
766+ \p A constant buffer is arranged like an array of 16-byte rows, or 4-component
766767vectors of 32-bit elements. Shader constants are arranged into the buffer in the
767768order they were declared based on following rules.
768769
852853
853854\Sub {Default Constant Buffer}{Resources.cnbuf.defcb}
854855
855- \p All variables declaration in the global scope are implicitly added to default
856- constant buffer called \texttt {\$ Globals }, unless they are marked
856+ \p All variables declarations in the global scope are implicitly added to
857+ default constant buffer called \texttt {\$ Globals }, unless they are marked
857858\texttt {static }, \texttt {groupshared }, or declare a resource or array of
858859resources.
859860
You can’t perform that action at this time.
0 commit comments