(fsize, input[i], fsize, unsigned_, fpcr, FP::RoundingMode::ToOdd, fpsr));
- };
- }
+ // FUCK YOU MSVC, FUCKING DEPTH CANT EVEN HANDLE 8+16+32+64 DEPTH OF A ELSE STATMENT YOU FUCKING STUPID
+ // BURN MSVC BURN IT STUPID COMPILER CAN'T EVEN COMPILE THE MOST BASIC C++
+ ROUNDING_MODE_SWITCH(ToNearest_TieEven)
+ ROUNDING_MODE_SWITCH(TowardsPlusInfinity)
+ ROUNDING_MODE_SWITCH(TowardsMinusInfinity)
+ ROUNDING_MODE_SWITCH(TowardsZero)
+ ROUNDING_MODE_SWITCH(ToNearest_TieAwayFromZero)
+#undef ROUNDING_MODE_SWITCH
+#undef ROUNDING_MODE_CASE
+ return nullptr;
}();
- EmitTwoOpFallback<3>(code, ctx, inst, func);
+
+ EmitTwoOpFallback<3>(code, ctx, inst, fpt_fn);
}
void EmitX64::EmitFPVectorToSignedFixed16(EmitContext& ctx, IR::Inst* inst) {
diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h
index 71210ffe6e..efae825885 100644
--- a/src/video_core/texture_cache/texture_cache.h
+++ b/src/video_core/texture_cache/texture_cache.h
@@ -2733,7 +2733,9 @@ void TextureCache::PrepareImage(ImageId image_id, bool is_modification, bool
}
} else {
RefreshContents(image, image_id);
- SynchronizeAliases(image_id);
+ if (!image.aliased_images.empty()) {
+ SynchronizeAliases(image_id);
+ }
}
if (is_modification) {
MarkModification(image);