diff options
| -rw-r--r-- | src/video_core/dirty_flags.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/video_core/dirty_flags.h b/src/video_core/dirty_flags.h index ed07dfc03..0dbafd3ef 100644 --- a/src/video_core/dirty_flags.h +++ b/src/video_core/dirty_flags.h | |||
| @@ -31,15 +31,15 @@ enum : u8 { | |||
| 31 | }; | 31 | }; |
| 32 | 32 | ||
| 33 | template <typename Integer> | 33 | template <typename Integer> |
| 34 | inline void FillBlock(Tegra::Engines::Maxwell3D::DirtyState::Table& table, std::size_t begin, | 34 | void FillBlock(Tegra::Engines::Maxwell3D::DirtyState::Table& table, std::size_t begin, |
| 35 | std::size_t num, Integer dirty_index) { | 35 | std::size_t num, Integer dirty_index) { |
| 36 | const auto it = std::begin(table) + begin; | 36 | const auto it = std::begin(table) + begin; |
| 37 | std::fill(it, it + num, static_cast<u8>(dirty_index)); | 37 | std::fill(it, it + num, static_cast<u8>(dirty_index)); |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | template <typename Integer1, typename Integer2> | 40 | template <typename Integer1, typename Integer2> |
| 41 | inline void FillBlock(Tegra::Engines::Maxwell3D::DirtyState::Tables& tables, std::size_t begin, | 41 | void FillBlock(Tegra::Engines::Maxwell3D::DirtyState::Tables& tables, std::size_t begin, |
| 42 | std::size_t num, Integer1 index_a, Integer2 index_b) { | 42 | std::size_t num, Integer1 index_a, Integer2 index_b) { |
| 43 | FillBlock(tables[0], begin, num, index_a); | 43 | FillBlock(tables[0], begin, num, index_a); |
| 44 | FillBlock(tables[1], begin, num, index_b); | 44 | FillBlock(tables[1], begin, num, index_b); |
| 45 | } | 45 | } |