[DXBC] Fix an outdated comment about cube operands

This commit is contained in:
Triang3l 2020-05-10 16:35:40 +03:00
parent b79ba69548
commit ef37cbb955
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ void DxbcShaderTranslator::ProcessVectorAluOperation(
operand_needed_components[i] = ucode::GetAluVectorOpNeededSourceComponents(
instr.vector_opcode, i + 1, used_result_components);
}
// .zzxy - don't need the first component.
// .zzxy - don't need duplicated Z.
if (instr.vector_opcode == AluVectorOpcode::kCube) {
operand_needed_components[0] &= 0b1101;
}