Profile Options
NumInstructionSlots=val
How many instructions the compiler should assume it can use.
NumTemps=val
How many temporaries the compiler should assume it can use.
Data Types
fixed
The fixed data type corresponds to a native signed fixed-point integers with the range [-2.0,+2.0), sometimes called fx12. This type provides 10 fractional bits of precision.
half
The half data type corresponds to a floating-point encoding with a sign bit, 10 mantissa bits, and 5 exponent bits (biased by 16), sometimes called s10e5.
float
The float data type corresponds to a standard IEEE 754 single-precision floating-point encoding with a sign bit, 23 mantissa bits, and 8 exponent bits (biased by 128), sometimes called s10e5.
Semantics
Varying Input Semantics
The varying input semantics in the fp30 profile correspond to the respectively named varying output semantics of the vp30 profile.
Binding Semantics Name : Corresponding Data
COL
COL0
COLOR
COLOR0:Input primary color
COL1
COLOR1 :Input secondary color
TEX0
TEXCOORD0:Input texture coordinate sets 0
TEX1
TEXCOORD1:Input texture coordinate sets 1
TEX2
TEXCOORD2:Input texture coordinate sets 2
TEX3
TEXCOORD3: Input texture coordinate sets 3
TEX4
TEXCOORD4:Input texture coordinate sets 4
TEX5
TEXCOORD5: Input texture coordinate sets 5
TEX6
TEXCOORD6:Input texture coordinate sets 6
TEX7
TEXCOORD7:Input texture coordinate sets 7
FOG
FOGP : Input fog color (XYZ) and factor (W)
Uniform Input Semantics
Sixteen texture units are supported:
Binding Semantic Name : Corresponding Data
TEXUNIT0 :Texture unit 0
TEXUNIT1 : Texture unit 1
…
TEXUNIT15 :Texture unit 15
Output Semantics
COL
COL0
COLOR
COLOR0:Output color (float4)
DEPR
DEPTH :Output depth (float)