Skip to content

Commit aaaab35

Browse files
committed
code review feedback - minor changes if phrasing
1 parent 007f384 commit aaaab35

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

specs/language/resources.tex

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -665,11 +665,12 @@
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
@@ -762,7 +763,7 @@
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
766767
vectors of 32-bit elements. Shader constants are arranged into the buffer in the
767768
order they were declared based on following rules.
768769

@@ -852,8 +853,8 @@
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
858859
resources.
859860

0 commit comments

Comments
 (0)