diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-06-26 19:16:13 +0200 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2019-07-09 14:14:42 +0200 |
commit | dc4a93594cd74eb1f663213d3b340a83dd95842e (patch) | |
tree | b4e47847d6ae49bd37af80e9d82f766ddda74dc1 /src/video_core/shader/control_flow.cpp | |
parent | control_flow: Address feedback. (diff) | |
download | yuzu-dc4a93594cd74eb1f663213d3b340a83dd95842e.tar yuzu-dc4a93594cd74eb1f663213d3b340a83dd95842e.tar.gz yuzu-dc4a93594cd74eb1f663213d3b340a83dd95842e.tar.bz2 yuzu-dc4a93594cd74eb1f663213d3b340a83dd95842e.tar.lz yuzu-dc4a93594cd74eb1f663213d3b340a83dd95842e.tar.xz yuzu-dc4a93594cd74eb1f663213d3b340a83dd95842e.tar.zst yuzu-dc4a93594cd74eb1f663213d3b340a83dd95842e.zip |
Diffstat (limited to 'src/video_core/shader/control_flow.cpp')
-rw-r--r-- | src/video_core/shader/control_flow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/shader/control_flow.cpp b/src/video_core/shader/control_flow.cpp index 7b424d65d..bdf9d4dd4 100644 --- a/src/video_core/shader/control_flow.cpp +++ b/src/video_core/shader/control_flow.cpp @@ -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; |