intel: Fix analysis invalidation in eliminate_find_live_channel
If we saw a HALT instruction, we would forget to invalidate our analysis pass information before returning progress. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16677>
This commit is contained in:
committed by
Marge Bot
parent
21d3630cbc
commit
59bfc9c6cb
@@ -3217,7 +3217,7 @@ fs_visitor::eliminate_find_live_channel()
|
||||
/* This can potentially make control flow non-uniform until the end
|
||||
* of the program.
|
||||
*/
|
||||
return progress;
|
||||
goto out;
|
||||
|
||||
case SHADER_OPCODE_FIND_LIVE_CHANNEL:
|
||||
if (depth == 0) {
|
||||
@@ -3234,6 +3234,7 @@ fs_visitor::eliminate_find_live_channel()
|
||||
}
|
||||
}
|
||||
|
||||
out:
|
||||
if (progress)
|
||||
invalidate_analysis(DEPENDENCY_INSTRUCTION_DETAIL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user