Mesa (master): r600g: hack around property unknown issues.

Dave Airlie airlied at kemper.freedesktop.org
Fri Dec 24 07:40:39 UTC 2010


Module: Mesa
Branch: master
Commit: 876effb0e717e8e64050662f6ffa286c22065f5c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=876effb0e717e8e64050662f6ffa286c22065f5c

Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Dec 24 17:33:41 2010 +1000

r600g: hack around property unknown issues.

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 at redhat.com>

---

 src/gallium/drivers/r600/r600_shader.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c
index 9c7b7f0..bb5038c 100644
--- a/src/gallium/drivers/r600/r600_shader.c
+++ b/src/gallium/drivers/r600/r600_shader.c
@@ -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;




More information about the mesa-commit mailing list