mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-03 14:48:46 +00:00
clang format
This commit is contained in:
parent
2ea85134b9
commit
d9b60eaae4
1 changed files with 2 additions and 1 deletions
|
@ -363,7 +363,8 @@ void Translator::V_CNDMASK_B32(const GcnInst& inst) {
|
||||||
const bool has_flt_source =
|
const bool has_flt_source =
|
||||||
is_float_const(inst.src[0].field) || is_float_const(inst.src[1].field);
|
is_float_const(inst.src[0].field) || is_float_const(inst.src[1].field);
|
||||||
if (has_flt_source) {
|
if (has_flt_source) {
|
||||||
const IR::Value result = ir.Select(flag, GetSrc<IR::F32>(inst.src[1]), GetSrc<IR::F32>(inst.src[0]));
|
const IR::Value result =
|
||||||
|
ir.Select(flag, GetSrc<IR::F32>(inst.src[1]), GetSrc<IR::F32>(inst.src[0]));
|
||||||
ir.SetVectorReg(dst_reg, IR::U32F32{result});
|
ir.SetVectorReg(dst_reg, IR::U32F32{result});
|
||||||
} else {
|
} else {
|
||||||
const IR::Value result = ir.Select(flag, GetSrc(inst.src[1]), GetSrc(inst.src[0]));
|
const IR::Value result = ir.Select(flag, GetSrc(inst.src[1]), GetSrc(inst.src[0]));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue