Skip to content
Commit d591014d authored by Ilia Mirkin's avatar Ilia Mirkin Committed by Juan A. Suarez Romero
Browse files

nv50,nvc0: guard against zero-size blits



The current state tracker can generate these sometimes. Fixing this is
more involved, and due to some integer math we can generate
divisions-by-zero.

Signed-off-by: default avatarIlia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: default avatarKarol Herbst <kherbst@redhat.com>
Cc: mesa-stable@lists.freedesktop.org
(cherry picked from commit 9bf06141)
parent 8f43af33
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment