[DXBC] Update PsParamGen comment [ci skip]

This commit is contained in:
Triang3l 2022-07-21 12:42:06 +03:00
parent 1a95bef8b3
commit 6ff312afb1
1 changed files with 3 additions and 4 deletions

View File

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