diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-22 00:44:39 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-28 21:56:43 +0100 |
commit | 735c003a7099ba8ecb50c21dde24bd1a2c6a6878 (patch) | |
tree | 02a44f2884820b7ddf7ece2a32dde7d71df2c9fe /src/video_core/dirty_flags.h | |
parent | renderer_opengl: Fix edge-case where alpha testing might cull presentation (diff) | |
download | yuzu-735c003a7099ba8ecb50c21dde24bd1a2c6a6878.tar yuzu-735c003a7099ba8ecb50c21dde24bd1a2c6a6878.tar.gz yuzu-735c003a7099ba8ecb50c21dde24bd1a2c6a6878.tar.bz2 yuzu-735c003a7099ba8ecb50c21dde24bd1a2c6a6878.tar.lz yuzu-735c003a7099ba8ecb50c21dde24bd1a2c6a6878.tar.xz yuzu-735c003a7099ba8ecb50c21dde24bd1a2c6a6878.tar.zst yuzu-735c003a7099ba8ecb50c21dde24bd1a2c6a6878.zip |
Diffstat (limited to '')
-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 { }; template <typename Integer> -inline void FillBlock(Tegra::Engines::Maxwell3D::DirtyState::Table& table, std::size_t begin, - std::size_t num, Integer dirty_index) { +void FillBlock(Tegra::Engines::Maxwell3D::DirtyState::Table& table, std::size_t begin, + std::size_t num, Integer dirty_index) { const auto it = std::begin(table) + begin; std::fill(it, it + num, static_cast<u8>(dirty_index)); } template <typename Integer1, typename Integer2> -inline void FillBlock(Tegra::Engines::Maxwell3D::DirtyState::Tables& tables, std::size_t begin, - std::size_t num, Integer1 index_a, Integer2 index_b) { +void FillBlock(Tegra::Engines::Maxwell3D::DirtyState::Tables& tables, std::size_t begin, + std::size_t num, Integer1 index_a, Integer2 index_b) { FillBlock(tables[0], begin, num, index_a); FillBlock(tables[1], begin, num, index_b); } |