Skip to content
Snippets Groups Projects
Commit dc4a9359 authored by Fernando Sahmkow's avatar Fernando Sahmkow Committed by FernandoS27
Browse files

control_flow: Assert shaders bigger than limit.

parent e7a88f0a
No related branches found
No related tags found
No related merge requests found
......@@ -139,6 +139,8 @@ std::pair<ParseResult, ParseInfo> ParseCode(CFGRebuildState& state, u32 address)
while (true) {
if (offset >= end_address) {
// ASSERT_OR_EXECUTE can't be used, as it ignores the break
ASSERT_MSG(false, "Shader passed the current limit!");
parse_info.branch_info.address = exit_branch;
parse_info.branch_info.ignore = false;
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment