tgsi/dump: signal nospace when the last print exceeded the size
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 28 Apr 2016 20:51:25 +0000 (15:51 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 29 Apr 2016 16:39:28 +0000 (11:39 -0500)
commit318d305f6dd416295003d04b6c9092ae988f894a
treeb1d65e945c6fc66889b81f170e93f79426b020ea
parente08eaa5b723a22301f117ac6120c3d9cd399855e
tgsi/dump: signal nospace when the last print exceeded the size

Previously, there was a bug where nospace wasn't signalled if it just so
happened that the very last print exceeded the available space.

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/tgsi/tgsi_dump.c