Reset traps_count and ptrap when necessary for the next trapezoid cliprect
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=64912 Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: He Junyan <junyan.he@inbox.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
This commit is contained in:
parent
61fca4342a
commit
39e95cd0f5
|
@ -934,6 +934,9 @@ NTRAPS_LOOP_AGAIN:
|
|||
traps_not_completed -= traps_count;
|
||||
glamor_flush_composite_triangles(screen);
|
||||
goto NTRAPS_LOOP_AGAIN;
|
||||
} else {
|
||||
ptrap = traps;
|
||||
traps_count = ntrap;
|
||||
}
|
||||
|
||||
pbox++;
|
||||
|
|
Loading…
Reference in New Issue