diff options
author | Timothy Arceri <[email protected]> | 2018-12-14 15:36:02 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2019-01-02 09:53:01 +1100 |
commit | 4dda4457504ee5cafa0388543620d4598b8561cf (patch) | |
tree | 1b451ca3eaa1d5c1f1340e8d5a464c136ccee8fd /common.py | |
parent | dd061eb0442a25cad0cc775103ae31d62280fa44 (diff) |
tgsi/scan: correctly walk instructions in tgsi_scan_tess_ctrl()
The previous code used a do while loop and continues after walking
a nested loop/if-statement. This means we end up evaluating the
last instruction from the nested block against the while condition
and potentially exit early if it matches the exit condition of the
outer block.
Fixes: 386d165d8d09 ("tgsi/scan: add a new pass that analyzes tess factor writes")
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions