summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/tgsi/util/tgsi_sanity.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/tgsi/util/tgsi_sanity.c')
-rw-r--r--src/gallium/auxiliary/tgsi/util/tgsi_sanity.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/util/tgsi_sanity.c b/src/gallium/auxiliary/tgsi/util/tgsi_sanity.c
index 933127e661..7fc4c29c68 100644
--- a/src/gallium/auxiliary/tgsi/util/tgsi_sanity.c
+++ b/src/gallium/auxiliary/tgsi/util/tgsi_sanity.c
@@ -266,5 +266,5 @@ tgsi_sanity_check(
if (tgsi_iterate_shader( tokens, &ctx.iter ) == -1)
return FALSE;
- return ctx.errors > 0;
+ return ctx.errors == 0;
}