r600g: hack around property unknown issues.
authorDave Airlie <airlied@redhat.com>
Fri, 24 Dec 2010 07:33:41 +0000 (17:33 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 24 Dec 2010 07:34:40 +0000 (17:34 +1000)
should fix https://bugs.freedesktop.org/show_bug.cgi?id=32619

Need to add proper support for properties later.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_shader.c

index 9c7b7f0a57864b6d1f70f8631b0d1b19bbd4cb5b..bb5038c49b070f0c8f62a081ee5699c96069cf6c 100644 (file)
@@ -589,6 +589,8 @@ int r600_shader_from_tgsi(const struct tgsi_token *tokens, struct r600_shader *s
                        if (r)
                                goto out_err;
                        break;
+               case TGSI_TOKEN_TYPE_PROPERTY:
+                       break;
                default:
                        R600_ERR("unsupported token type %d\n", ctx.parse.FullToken.Token.Type);
                        r = -EINVAL;