Mesa (master): tgsi_text: just parse as an integer (value is a boolean).
Dave Airlie
airlied at kemper.freedesktop.org
Thu Dec 23 23:35:10 UTC 2010
Module: Mesa
Branch: master
Commit: aaccb732763275e35598c2c7b1bff930a23b7909
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aaccb732763275e35598c2c7b1bff930a23b7909
Author: Dave Airlie <airlied at redhat.com>
Date: Fri Dec 24 09:28:14 2010 +1000
tgsi_text: just parse as an integer (value is a boolean).
fixes warning reported by vlee on irc.
Signed-off-by: Dave Airlie <airlied at redhat.com>
---
src/gallium/auxiliary/tgsi/tgsi_text.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/src/gallium/auxiliary/tgsi/tgsi_text.c b/src/gallium/auxiliary/tgsi/tgsi_text.c
index ccb17b7..6778d9a 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_text.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_text.c
@@ -1400,7 +1400,6 @@ static boolean parse_property( struct translate_ctx *ctx )
}
break;
case TGSI_PROPERTY_FS_COLOR0_WRITES_ALL_CBUFS:
- break;
default:
if (!parse_uint(&ctx->cur, &values[0] )) {
report_error( ctx, "Expected unsigned integer as property!" );
More information about the mesa-commit
mailing list