summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/frontend/maxwell/translate/impl/atomic_operations_global_memory.cpp
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2021-07-12 04:10:38 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:40 +0200
commit49946cf780c317b4c5ccabb52ec433eba01c1970 (patch)
tree628060b15b133cf3a1aaf716fba3517fc5c983f0 /src/shader_recompiler/frontend/maxwell/translate/impl/atomic_operations_global_memory.cpp
parentmain: Update Shader Cache menu options (diff)
downloadyuzu-49946cf780c317b4c5ccabb52ec433eba01c1970.tar
yuzu-49946cf780c317b4c5ccabb52ec433eba01c1970.tar.gz
yuzu-49946cf780c317b4c5ccabb52ec433eba01c1970.tar.bz2
yuzu-49946cf780c317b4c5ccabb52ec433eba01c1970.tar.lz
yuzu-49946cf780c317b4c5ccabb52ec433eba01c1970.tar.xz
yuzu-49946cf780c317b4c5ccabb52ec433eba01c1970.tar.zst
yuzu-49946cf780c317b4c5ccabb52ec433eba01c1970.zip
Diffstat (limited to '')
-rw-r--r--src/shader_recompiler/frontend/maxwell/translate/impl/atomic_operations_global_memory.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/atomic_operations_global_memory.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/atomic_operations_global_memory.cpp
index 66f39e44e..d9f999e05 100644
--- a/src/shader_recompiler/frontend/maxwell/translate/impl/atomic_operations_global_memory.cpp
+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/atomic_operations_global_memory.cpp
@@ -59,14 +59,14 @@ IR::U32U64 ApplyIntegerAtomOp(IR::IREmitter& ir, const IR::U32U64& offset, const
IR::Value ApplyFpAtomOp(IR::IREmitter& ir, const IR::U64& offset, const IR::Value& op_b, AtomOp op,
AtomSize size) {
static constexpr IR::FpControl f16_control{
- .no_contraction{false},
- .rounding{IR::FpRounding::RN},
- .fmz_mode{IR::FmzMode::DontCare},
+ .no_contraction = false,
+ .rounding = IR::FpRounding::RN,
+ .fmz_mode = IR::FmzMode::DontCare,
};
static constexpr IR::FpControl f32_control{
- .no_contraction{false},
- .rounding{IR::FpRounding::RN},
- .fmz_mode{IR::FmzMode::FTZ},
+ .no_contraction = false,
+ .rounding = IR::FpRounding::RN,
+ .fmz_mode = IR::FmzMode::FTZ,
};
switch (op) {
case AtomOp::ADD: