Browse Source

Revert "fix try #1"

pull/3296/head
CamilleLaVey 3 weeks ago
committed by lizzie
parent
commit
f1f299feeb
  1. 2
      src/video_core/dma_pusher.h
  2. 1
      src/video_core/engines/engine_interface.h
  3. 5
      src/video_core/engines/maxwell_3d.cpp

2
src/video_core/dma_pusher.h

@ -178,7 +178,7 @@ private:
const bool ib_enable{true}; ///< IB mode enabled
std::array<Engines::EngineInterface*, max_subchannels> subchannels{};
std::array<Engines::EngineTypes, max_subchannels> subchannel_type{};
std::array<Engines::EngineTypes, max_subchannels> subchannel_type;
GPU& gpu;
Core::System& system;

1
src/video_core/engines/engine_interface.h

@ -15,7 +15,6 @@
namespace Tegra::Engines {
enum class EngineTypes : u32 {
Invalid = 0,
KeplerCompute,
Maxwell3D,
Fermi2D,

5
src/video_core/engines/maxwell_3d.cpp

@ -254,10 +254,7 @@ void Maxwell3D::ProcessDirtyRegisters(u32 method, u32 argument) {
}
regs.reg_array[method] = argument;
const auto& table0 = dirty.tables[0];
const auto& table1 = dirty.tables[1];
const u8 flag0 = table0[method];
const u8 flag1 = table1[method];
const auto [flag0, flag1] = VideoCommon::Dirty::GetDirtyFlagsForMethod(method);
dirty.flags[flag0] = true;
if (flag1 != flag0) {
dirty.flags[flag1] = true;

Loading…
Cancel
Save