summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/tgsi
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-12-24 09:28:14 +1000
committerDave Airlie <airlied@redhat.com>2010-12-24 09:29:19 +1000
commitaaccb732763275e35598c2c7b1bff930a23b7909 (patch)
tree1ed01706c111299b649f1b2010936ffb7ff42e71 /src/gallium/auxiliary/tgsi
parent0b76255714653ac84538dafa62676d9c075f21a3 (diff)
tgsi_text: just parse as an integer (value is a boolean).
fixes warning reported by vlee on irc. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/gallium/auxiliary/tgsi')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_text.c1
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 ccb17b7750..6778d9abb0 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!" );