For a color index, final conversion consists of masking the bits of the index to the left of the binary point by , where n is the number of bits in an index buffer. For RGBA components, each element is clamped to . The resulting values are converted to fixed-point according to the rules given in section 2.13.9 (Final Color Processing).
For a depth component, an element is first clamped to and then converted to fixed-point as if it were a window z value (see section 2.10.1, Controlling the Viewport).
Stencil indices are masked by , where n is the number of bits in the stencil buffer.