Просмотр исходного кода

maxwell_3d: Use two tables instead of three for dirty flags

ReinUsesLisp 6 лет назад
Родитель
Сommit
15cadc3948
1 измененных файлов с 1 добавлено и 1 удалено
  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 {
     struct {
         std::bitset<std::numeric_limits<u8>::max()> flags;
         std::bitset<std::numeric_limits<u8>::max()> flags;
         std::bitset<std::numeric_limits<u8>::max()> on_write_stores;
         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;
     } dirty;
 
 
 private:
 private: