ソースを参照

maxwell_3d: reduce sevirity of different component formats assert.

This was reduced due to happening on most games and at such constant
rate that it affected performance heavily for the end user. In general,
we are well aware of the assert and an implementation is already
planned.
Fernando Sahmkow 7 年 前
コミット
fc975e9021
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/video_core/engines/maxwell_3d.cpp

+ 1 - 1
src/video_core/engines/maxwell_3d.cpp

@@ -442,7 +442,7 @@ Texture::TICEntry Maxwell3D::GetTICEntry(u32 tic_index) const {
     const auto a_type = tic_entry.a_type.Value();
 
     // TODO(Subv): Different data types for separate components are not supported
-    ASSERT(r_type == g_type && r_type == b_type && r_type == a_type);
+    DEBUG_ASSERT(r_type == g_type && r_type == b_type && r_type == a_type);
 
     return tic_entry;
 }