Răsfoiți Sursa

shader_bytecode: Replace some UNIMPLEMENTED logs.

bunnei 8 ani în urmă
părinte
comite
2ae88feea7
1 a modificat fișierele cu 6 adăugiri și 2 ștergeri
  1. 6 2
      src/video_core/engines/shader_bytecode.h

+ 6 - 2
src/video_core/engines/shader_bytecode.h

@@ -477,7 +477,9 @@ union Instruction {
             if (texture_info >= 12 && texture_info <= 13)
             if (texture_info >= 12 && texture_info <= 13)
                 return TextureType::TextureCube;
                 return TextureType::TextureCube;
 
 
-            UNIMPLEMENTED();
+            LOG_CRITICAL(HW_GPU, "Unhandled texture_info: {}",
+                         static_cast<u32>(texture_info.Value()));
+            UNREACHABLE();
         }
         }
 
 
         bool IsArrayTexture() const {
         bool IsArrayTexture() const {
@@ -523,7 +525,9 @@ union Instruction {
                 return TextureType::Texture3D;
                 return TextureType::Texture3D;
             }
             }
 
 
-            UNIMPLEMENTED();
+            LOG_CRITICAL(HW_GPU, "Unhandled texture_info: {}",
+                         static_cast<u32>(texture_info.Value()));
+            UNREACHABLE();
         }
         }
 
 
         bool IsArrayTexture() const {
         bool IsArrayTexture() const {