Преглед на файлове

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