mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-01-07 15:48:15 +01:00
warn about invalid primitive mode
This commit is contained in:
parent
6ea6ad37d6
commit
5b7a0fa3f6
@ -366,7 +366,7 @@ namespace LatteDecompiler
|
||||
src->add("#define VERTICES_PER_VERTEX_PRIMITIVE 3" _CRLF);
|
||||
break;
|
||||
default:
|
||||
cemu_assert_suspicious();
|
||||
cemuLog_log(LogType::Force, "Unknown vertex out primitive type {}", vsOutPrimType);
|
||||
break;
|
||||
}
|
||||
if (decompilerContext->shaderType == LatteConst::ShaderType::Geometry)
|
||||
@ -386,7 +386,7 @@ namespace LatteDecompiler
|
||||
src->add("#define GET_PRIMITIVE_COUNT(vertexCount) (vertexCount - 2)" _CRLF);
|
||||
break;
|
||||
default:
|
||||
cemu_assert_suspicious();
|
||||
cemuLog_log(LogType::Force, "Unknown geometry out primitive type {}", gsOutPrimType);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user