From cf1b4099845fcc9ba0c75421d2dceb8b7c39e641 Mon Sep 17 00:00:00 2001 From: Chris B Date: Wed, 29 Nov 2023 13:48:24 -0600 Subject: [PATCH] Add a file to store placeholder reference points (#127) Declaring placeholder headings allows us to just put the references in as we're writing earlier parts of the document instead of leaving FIXME comments around. --- specs/language/hlsl.tex | 2 ++ specs/language/introduction.tex | 2 +- specs/language/lex.tex | 3 +-- specs/language/placeholders.tex | 4 ++++ 4 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 specs/language/placeholders.tex diff --git a/specs/language/hlsl.tex b/specs/language/hlsl.tex index a256704f..355e5798 100644 --- a/specs/language/hlsl.tex +++ b/specs/language/hlsl.tex @@ -74,6 +74,8 @@ \input{conversions} \input{expressions} +\input{placeholders} % Declare placeholder references + \clearpage \label{glossaries} diff --git a/specs/language/introduction.tex b/specs/language/introduction.tex index f8a470a0..dfa80ebf 100644 --- a/specs/language/introduction.tex +++ b/specs/language/introduction.tex @@ -102,7 +102,7 @@ adjacent pixels and \gls{quad} operations allow passing data between adjacent lanes. In compute shaders quads may be one or two dimensional depending on the workload dimensionality described in the \texttt{numthreads} attribute on the -entry function. (FIXME: Add reference to attribute) +entry function (\ref{Decl.Attr.Entry}). \Sub{\gls{threadgroup}}{Intro.Model.Group} diff --git a/specs/language/lex.tex b/specs/language/lex.tex index 89adf300..dec68253 100644 --- a/specs/language/lex.tex +++ b/specs/language/lex.tex @@ -10,8 +10,7 @@ preprocessor specification. \p An implementation may implicitly include additional sources as required to -expose the \acrshort{hlsl} library functionality as defined in (FIXME: Add -reference to library chapter). +expose the \acrshort{hlsl} library functionality as defined in (\ref{Runtime}). \Sec{Phases of Translation}{Lex.Phases} diff --git a/specs/language/placeholders.tex b/specs/language/placeholders.tex new file mode 100644 index 00000000..b51bca4b --- /dev/null +++ b/specs/language/placeholders.tex @@ -0,0 +1,4 @@ +\Ch{Declarations}{Decl} +\Sec{Attributes}{Decl.Attr} +\Sub{Entry Attributes}{Decl.Attr.Entry} +\Ch{Runtime}{Runtime}