Merge branch 'master' of github.com:xenia-project/xenia into d3d12

This commit is contained in:
Triang3l 2018-11-18 22:21:32 +03:00
commit d35be635d6
1 changed files with 1 additions and 1 deletions

View File

@ -1117,7 +1117,7 @@ void ParseAluInstructionOperand(const AluInstruction& op, int i,
out_op->component_count = swizzle_component_count;
uint32_t swizzle = op.src_swizzle(i);
if (swizzle_component_count == 1) {
uint32_t a = swizzle & 0x3;
uint32_t a = ((swizzle >> 6) + 3) & 0x3;
out_op->components[0] = GetSwizzleFromComponentIndex(a);
} else if (swizzle_component_count == 2) {
uint32_t a = ((swizzle >> 6) + 3) & 0x3;