summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorAmeer J <52414509+ameerj@users.noreply.github.com>2023-11-18 13:39:47 +0100
committerGitHub <noreply@github.com>2023-11-18 13:39:47 +0100
commitfeb60de5c33a394b4998a45a549b99e7f0a4fe18 (patch)
tree4743b2682aeb7151dc293d1e78f7b85ce987c4da /src/video_core
parentMerge pull request #12058 from liamwhite/opus-again (diff)
downloadyuzu-feb60de5c33a394b4998a45a549b99e7f0a4fe18.tar
yuzu-feb60de5c33a394b4998a45a549b99e7f0a4fe18.tar.gz
yuzu-feb60de5c33a394b4998a45a549b99e7f0a4fe18.tar.bz2
yuzu-feb60de5c33a394b4998a45a549b99e7f0a4fe18.tar.lz
yuzu-feb60de5c33a394b4998a45a549b99e7f0a4fe18.tar.xz
yuzu-feb60de5c33a394b4998a45a549b99e7f0a4fe18.tar.zst
yuzu-feb60de5c33a394b4998a45a549b99e7f0a4fe18.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/engines/fermi_2d.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/engines/fermi_2d.cpp b/src/video_core/engines/fermi_2d.cpp
index 02e161270..91f10aec2 100644
--- a/src/video_core/engines/fermi_2d.cpp
+++ b/src/video_core/engines/fermi_2d.cpp
@@ -72,7 +72,7 @@ void Fermi2D::Blit() {
UNIMPLEMENTED_IF_MSG(regs.clip_enable != 0, "Clipped blit enabled");
const auto& args = regs.pixels_from_memory;
- constexpr s64 null_derivate = 1ULL << 32;
+ constexpr s64 null_derivative = 1ULL << 32;
Surface src = regs.src;
const auto bytes_per_pixel = BytesPerBlock(PixelFormatFromRenderTargetFormat(src.format));
const bool delegate_to_gpu = src.width > 512 && src.height > 512 && bytes_per_pixel <= 8 &&
@@ -89,7 +89,7 @@ void Fermi2D::Blit() {
.operation = regs.operation,
.filter = args.sample_mode.filter,
.must_accelerate =
- args.du_dx != null_derivate || args.dv_dy != null_derivate || delegate_to_gpu,
+ args.du_dx != null_derivative || args.dv_dy != null_derivative || delegate_to_gpu,
.dst_x0 = args.dst_x0,
.dst_y0 = args.dst_y0,
.dst_x1 = args.dst_x0 + args.dst_width,