Skip to content

Commit

Permalink
Add a file to store placeholder reference points (#127)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
llvm-beanz authored Nov 29, 2023
1 parent 537b4cf commit cf1b409
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions specs/language/hlsl.tex
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@
\input{conversions}
\input{expressions}

\input{placeholders} % Declare placeholder references

\clearpage

\label{glossaries}
Expand Down
2 changes: 1 addition & 1 deletion specs/language/introduction.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down
3 changes: 1 addition & 2 deletions specs/language/lex.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down
4 changes: 4 additions & 0 deletions specs/language/placeholders.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
\Ch{Declarations}{Decl}
\Sec{Attributes}{Decl.Attr}
\Sub{Entry Attributes}{Decl.Attr.Entry}
\Ch{Runtime}{Runtime}

0 comments on commit cf1b409

Please sign in to comment.