Browse Source

make silksongy worky againy

lizzie/gutter-sw-blitter
lizzie 1 month ago
committed by crueter
parent
commit
2ad9160d59
  1. 5
      src/video_core/engines/fermi_2d.cpp

5
src/video_core/engines/fermi_2d.cpp

@ -71,8 +71,6 @@ void Fermi2D::Blit() {
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 &&
src.format != regs.dst.format;
auto srcX = args.src_x0;
auto srcY = args.src_y0;
@ -84,8 +82,7 @@ void Fermi2D::Blit() {
Config config{
.operation = regs.operation,
.filter = args.sample_mode.filter,
.must_accelerate =
args.du_dx != null_derivative || args.dv_dy != null_derivative || delegate_to_gpu,
.must_accelerate = true, //args.du_dx != null_derivative || args.dv_dy != null_derivative,
.dst_x0 = args.dst_x0,
.dst_y0 = args.dst_y0,
.dst_x1 = args.dst_x0 + args.dst_width,

Loading…
Cancel
Save