diff --git a/specs/language/resources.tex b/specs/language/resources.tex index 648ea214..945736e6 100644 --- a/specs/language/resources.tex +++ b/specs/language/resources.tex @@ -5,7 +5,7 @@ These take the form of Typed Buffers, Raw Buffers, Textures, and Samplers. Buffer and Texture types can be read-only or writable. -\Sec{Typed Buffers}{Resources.tybuf} +\Sec{Typed Buffers}{Resources.tybufs} The typed buffer class template represents a one-dimensional resource containing an array of a single given type. Its contents are indexed by typed access to each element @@ -23,8 +23,6 @@ Typed buffers perform format conversions on load such that the underlying data gets converted to the destination type. -\Sec{Typed Buffers}{Resources.tybufs} - \begin{HLSL} template class Buffer { @@ -71,7 +69,7 @@ \end{HLSL} When defined at global scope, typed buffers are bound to externally-defined backing stores -using the explicit binding location if provided or the implicit binding if not. +using the explicit binding location if provided or the implicit binding if not (\ref{Resources.binding}). When defined at local scope, typed buffers represent local references that can be associated with global buffers when assigned, @@ -128,7 +126,7 @@ Partial writes aren't allowed. Assignment to individual vector elements will result in an error. -\Sec{Raw Buffer Types}{Resources.rawbufs} +\Sec{Raw Buffers}{Resources.rawbufs} Raw buffers are one-dimensional resources of arbitrary memory layout. They are either ByteAddressBuffers or StructuredBuffers. @@ -250,7 +248,7 @@ \end{HLSL} When defined at global scope, ByteAccessBuffers are bound to externally-defined backing stores -using the explicit binding location if provided or the implicit binding if not. +using the explicit binding location if provided or the implicit binding if not (\ref{Resources.binding}). When defined at local scope, ByteAccessBuffers represent local references that can be associated with global ByteAccessBuffers when assigned, @@ -458,8 +456,6 @@ Structured buffers can be defined with scalar, vector, matrix, or user-defined struct elements. -\Sec{Structured Buffers}{Resources.stbufs} - Structured buffers can be read-only, writable, appendable, or consumable. Writable buffers can have their elements assigned in arbitrary locations. Append structured buffers can only have elements added to the end. @@ -542,7 +538,7 @@ \end{HLSL} When defined at global scope, structured buffers are bound to externally-defined backing stores -using the explicit binding location if provided or the implicit binding if not. +using the explicit binding location if provided or the implicit binding if not (\ref{Resources.binding}). When defined at local scope, structured buffers represent local references that can be associated with global buffers when assigned,