Merge branch 'master' of github.com:xenia-project/xenia into d3d12
This commit is contained in:
commit
d35be635d6
|
@ -1117,7 +1117,7 @@ void ParseAluInstructionOperand(const AluInstruction& op, int i,
|
||||||
out_op->component_count = swizzle_component_count;
|
out_op->component_count = swizzle_component_count;
|
||||||
uint32_t swizzle = op.src_swizzle(i);
|
uint32_t swizzle = op.src_swizzle(i);
|
||||||
if (swizzle_component_count == 1) {
|
if (swizzle_component_count == 1) {
|
||||||
uint32_t a = swizzle & 0x3;
|
uint32_t a = ((swizzle >> 6) + 3) & 0x3;
|
||||||
out_op->components[0] = GetSwizzleFromComponentIndex(a);
|
out_op->components[0] = GetSwizzleFromComponentIndex(a);
|
||||||
} else if (swizzle_component_count == 2) {
|
} else if (swizzle_component_count == 2) {
|
||||||
uint32_t a = ((swizzle >> 6) + 3) & 0x3;
|
uint32_t a = ((swizzle >> 6) + 3) & 0x3;
|
||||||
|
|
Loading…
Reference in New Issue