warn about invalid primitive mode

This commit is contained in:
Samuliak 2024-11-14 17:10:42 +01:00
parent 6ea6ad37d6
commit 5b7a0fa3f6
No known key found for this signature in database

View File

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