Jelajahi Sumber

maxwell_3d: Use two tables instead of three for dirty flags

ReinUsesLisp 6 tahun lalu
induk
melakukan
15cadc3948
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/video_core/engines/maxwell_3d.h

+ 1 - 1
src/video_core/engines/maxwell_3d.h

@@ -1294,7 +1294,7 @@ public:
     struct {
         std::bitset<std::numeric_limits<u8>::max()> flags;
         std::bitset<std::numeric_limits<u8>::max()> on_write_stores;
-        std::array<std::array<u8, Regs::NUM_REGS>, 3> tables{};
+        std::array<std::array<u8, Regs::NUM_REGS>, 2> tables{};
     } dirty;
 
 private: