[DXBC] Update PsParamGen comment [ci skip]

This commit is contained in:
Triang3l
2022-07-21 12:42:06 +03:00
parent 1a95bef8b3
commit 6ff312afb1

View File

@@ -713,10 +713,9 @@ void DxbcShaderTranslator::StartPixelShader() {
: dxbc::Src::LF(0.0f)); : dxbc::Src::LF(0.0f));
} }
// Write the pixel parameters - screen (XY absolute value) and point sprite // Write the pixel parameters to the specified interpolator register
// (ZW absolute value) coordinates, facing (X sign bit) - to the specified // (PsParamGen). The negate modified in DXBC flips the sign bit, so it can be
// interpolator register (PsParamGen). The negate modified in DXBC flips the // used to write the flags.
// sign bit.
if (param_gen_interpolator != UINT32_MAX) { if (param_gen_interpolator != UINT32_MAX) {
uint32_t param_gen_temp = uses_register_dynamic_addressing uint32_t param_gen_temp = uses_register_dynamic_addressing
? PushSystemTemp() ? PushSystemTemp()