s_saturationWeights3dnow
global · ui
- Address
0x818a28· 16 bytes, up to0x818a37- Type
const float[4]- Meaning
- Holds 0.2125, 0.7154 and 0.0721, then 0, as the pairs the 3DNow saturation code 0x75e12b multiplies by
- Confidence
- verified, proof one
- Finding
- ui/texture#the-saturation-weights-in-the-exe
Finding: The saturation weights in the exe in ui: texture colour and drawing
The executable holds Rec.709-style luminance weights, 0.2125, 0.7154 and 0.0721, but only D3DX's colour saturation code reads them. The texture submit sets no shader constant, so a desaturated quad takes its weights from the shader file.
The derivation is in the doc.