summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/maxwell_3d.cpp
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-03-29 20:12:53 +0200
committerJames Rowe <jroweboy@gmail.com>2018-04-07 04:44:46 +0200
commitdcc27d6dc1153cf0d9ed33a210d46e4111e13e8b (patch)
tree3039df6c723820c87fa748912ed02432621e5c7b /src/video_core/engines/maxwell_3d.cpp
parentGL: Set up the textures used for each draw call. (diff)
downloadyuzu-dcc27d6dc1153cf0d9ed33a210d46e4111e13e8b.tar
yuzu-dcc27d6dc1153cf0d9ed33a210d46e4111e13e8b.tar.gz
yuzu-dcc27d6dc1153cf0d9ed33a210d46e4111e13e8b.tar.bz2
yuzu-dcc27d6dc1153cf0d9ed33a210d46e4111e13e8b.tar.lz
yuzu-dcc27d6dc1153cf0d9ed33a210d46e4111e13e8b.tar.xz
yuzu-dcc27d6dc1153cf0d9ed33a210d46e4111e13e8b.tar.zst
yuzu-dcc27d6dc1153cf0d9ed33a210d46e4111e13e8b.zip
Diffstat (limited to 'src/video_core/engines/maxwell_3d.cpp')
-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;
}