summaryrefslogtreecommitdiffstats
path: root/src/video_core/dirty_flags.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-02-22 00:44:39 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-02-28 21:56:43 +0100
commit735c003a7099ba8ecb50c21dde24bd1a2c6a6878 (patch)
tree02a44f2884820b7ddf7ece2a32dde7d71df2c9fe /src/video_core/dirty_flags.h
parentrenderer_opengl: Fix edge-case where alpha testing might cull presentation (diff)
downloadyuzu-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 'src/video_core/dirty_flags.h')
-rw-r--r--src/video_core/dirty_flags.h8
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);
}