summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/tgsi/tgsi_dump.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2015-01-22 15:18:05 +1000
committerDave Airlie <airlied@redhat.com>2015-10-23 11:57:56 +1000
commit531f5d1270782927911c5c720201e86c6f40182d (patch)
tree98d0298dfe7b42bfc4dac91cc7b815ed28ac2e69 /src/gallium/auxiliary/tgsi/tgsi_dump.h
parent041081dc219dcf7f61748284033c6fd7627acc69 (diff)
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>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_dump.h')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_dump.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_dump.h b/src/gallium/auxiliary/tgsi/tgsi_dump.h
index 6666b983e9c..c3722d333d7 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_dump.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_dump.h
@@ -40,7 +40,7 @@ extern "C" {
#define TGSI_DUMP_FLOAT_AS_HEX (1 << 0)
-void
+bool
tgsi_dump_str(
const struct tgsi_token *tokens,
uint flags,