mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 02:10:11 +01:00
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:
parent
21d3630cbc
commit
59bfc9c6cb
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue