Scope[Scope]

1 Scope[Scope]

This document specifies the requirements for implementations of the hlsl. The primary requirement is that an implementation must implement the grammar and semantics described in this document. The secondary requirement is that an implementation provide the standard library of data types described in this document.

hlsl was originally developed as a domain-specific language for programming shaders programs. The language has since evolved into a general-purpose programming language for GPU programming. It is based on the C and C++ programming langauges as described in the isoC and isoCPP standards, with additions alterations specific to graphics and parallel computation programming.