summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/maxwell_3d.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-04-08 00:46:16 +0200
committerGitHub <noreply@github.com>2018-04-08 00:46:16 +0200
commit227bc78cbefef0866fc39db1383ea4f012583e11 (patch)
tree4b6979d7483cf98463afa394d2e11001e91aa195 /src/video_core/engines/maxwell_3d.cpp
parentMerge pull request #315 from jroweboy/spelling-fix (diff)
parentFix clang format issues (diff)
downloadyuzu-227bc78cbefef0866fc39db1383ea4f012583e11.tar
yuzu-227bc78cbefef0866fc39db1383ea4f012583e11.tar.gz
yuzu-227bc78cbefef0866fc39db1383ea4f012583e11.tar.bz2
yuzu-227bc78cbefef0866fc39db1383ea4f012583e11.tar.lz
yuzu-227bc78cbefef0866fc39db1383ea4f012583e11.tar.xz
yuzu-227bc78cbefef0866fc39db1383ea4f012583e11.tar.zst
yuzu-227bc78cbefef0866fc39db1383ea4f012583e11.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/engines/maxwell_3d.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp
index 124753032..2d7c3152f 100644
--- a/src/video_core/engines/maxwell_3d.cpp
+++ b/src/video_core/engines/maxwell_3d.cpp
@@ -231,6 +231,8 @@ Texture::TICEntry Maxwell3D::GetTICEntry(u32 tic_index) const {
// TODO(Subv): Different data types for separate components are not supported
ASSERT(r_type == g_type && r_type == b_type && r_type == a_type);
+ // TODO(Subv): Only UNORM formats are supported for now.
+ ASSERT(r_type == Texture::ComponentType::UNORM);
return tic_entry;
}