tgsi: Refactor tgsi_dump to avoid using string buffers when dumping.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Fri, 5 Sep 2008 01:29:17 +0000 (10:29 +0900)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Fri, 5 Sep 2008 01:31:38 +0000 (10:31 +0900)
commitb8a7eef242f6bb97d90f6e0303d270b2cbc58421
tree60a64109d350bf87b7f720f132c4c5c5a08e7b1e
parent50524c284528d467082266dfa18112f3cdc6202d
tgsi: Refactor tgsi_dump to avoid using string buffers when dumping.

This fixes a stack overflow when dumping shaders.

It ended up being pretty much as the original code Michal had before,
before I went on a cleanup rampage on it and took things that ended up
needing...
src/gallium/auxiliary/tgsi/tgsi_dump.c