tgsi: try and handle overflowing shaders. (v2)
authorDave Airlie <airlied@redhat.com>
Thu, 22 Jan 2015 05:18:05 +0000 (15:18 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 23 Oct 2015 01:57:56 +0000 (11:57 +1000)
commit531f5d1270782927911c5c720201e86c6f40182d
tree98d0298dfe7b42bfc4dac91cc7b815ed28ac2e69
parent041081dc219dcf7f61748284033c6fd7627acc69
tgsi: try and handle overflowing shaders. (v2)

This is used to detect error in virgl if we overflow the shader
dumping buffers.

v2: return a bool.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/tgsi/tgsi_dump.c
src/gallium/auxiliary/tgsi/tgsi_dump.h