diff options
author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2019-08-30 20:08:00 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-08-30 20:08:00 +0200 |
commit | 4d4f9cc104c9440de36e3ff3f6b374acd8074885 (patch) | |
tree | ec9d52b39ac1da86866b5d6c5b592d8ddb324efd /src/video_core/engines/maxwell_3d.cpp | |
parent | Merge pull request #2819 from ReinUsesLisp/fixup-clang (diff) | |
download | yuzu-4d4f9cc104c9440de36e3ff3f6b374acd8074885.tar yuzu-4d4f9cc104c9440de36e3ff3f6b374acd8074885.tar.gz yuzu-4d4f9cc104c9440de36e3ff3f6b374acd8074885.tar.bz2 yuzu-4d4f9cc104c9440de36e3ff3f6b374acd8074885.tar.lz yuzu-4d4f9cc104c9440de36e3ff3f6b374acd8074885.tar.xz yuzu-4d4f9cc104c9440de36e3ff3f6b374acd8074885.tar.zst yuzu-4d4f9cc104c9440de36e3ff3f6b374acd8074885.zip |
Diffstat (limited to 'src/video_core/engines/maxwell_3d.cpp')
-rw-r--r-- | src/video_core/engines/maxwell_3d.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp index 125c53360..6a5a4f5c4 100644 --- a/src/video_core/engines/maxwell_3d.cpp +++ b/src/video_core/engines/maxwell_3d.cpp @@ -524,7 +524,7 @@ void Maxwell3D::ProcessQueryCondition() { void Maxwell3D::ProcessSyncPoint() { const u32 sync_point = regs.sync_info.sync_point.Value(); const u32 increment = regs.sync_info.increment.Value(); - const u32 cache_flush = regs.sync_info.unknown.Value(); + [[maybe_unused]] const u32 cache_flush = regs.sync_info.unknown.Value(); if (increment) { system.GPU().IncrementSyncPoint(sync_point); } @@ -626,10 +626,10 @@ Texture::TICEntry Maxwell3D::GetTICEntry(u32 tic_index) const { Texture::TICEntry tic_entry; memory_manager.ReadBlockUnsafe(tic_address_gpu, &tic_entry, sizeof(Texture::TICEntry)); - const auto r_type{tic_entry.r_type.Value()}; - const auto g_type{tic_entry.g_type.Value()}; - const auto b_type{tic_entry.b_type.Value()}; - const auto a_type{tic_entry.a_type.Value()}; + [[maybe_unused]] const auto r_type{tic_entry.r_type.Value()}; + [[maybe_unused]] const auto g_type{tic_entry.g_type.Value()}; + [[maybe_unused]] const auto b_type{tic_entry.b_type.Value()}; + [[maybe_unused]] const auto a_type{tic_entry.a_type.Value()}; // TODO(Subv): Different data types for separate components are not supported DEBUG_ASSERT(r_type == g_type && r_type == b_type && r_type == a_type); |