Explorar o código

shader_bytecode: Replace some UNIMPLEMENTED logs.

bunnei %!s(int64=8) %!d(string=hai) anos
pai
achega
2ae88feea7
Modificáronse 1 ficheiros con 6 adicións e 2 borrados
  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)
                 return TextureType::TextureCube;
 
-            UNIMPLEMENTED();
+            LOG_CRITICAL(HW_GPU, "Unhandled texture_info: {}",
+                         static_cast<u32>(texture_info.Value()));
+            UNREACHABLE();
         }
 
         bool IsArrayTexture() const {
@@ -523,7 +525,9 @@ union Instruction {
                 return TextureType::Texture3D;
             }
 
-            UNIMPLEMENTED();
+            LOG_CRITICAL(HW_GPU, "Unhandled texture_info: {}",
+                         static_cast<u32>(texture_info.Value()));
+            UNREACHABLE();
         }
 
         bool IsArrayTexture() const {