瀏覽代碼

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;
 }