From 8c8c4e3977e3126d8bb23d1e30e27d869e32c89f Mon Sep 17 00:00:00 2001 From: Vincent Lejeune Date: Sat, 30 Mar 2013 02:09:15 +0100 Subject: r600g/llvm: Use stack_size provided from llvm. --- src/gallium/drivers/r600/r600_shader.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium') diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index c51773af5b2..57cf17b1734 100644 --- a/src/gallium/drivers/r600/r600_shader.c +++ b/src/gallium/drivers/r600/r600_shader.c @@ -592,6 +592,7 @@ static void r600_bytecode_from_byte_stream(struct r600_shader_ctx *ctx, unsigned char * bytes, unsigned num_bytes) { unsigned bytes_read = 0; + ctx->bc->nstack = bytes[bytes_read++]; unsigned i, byte; while (bytes_read < num_bytes) { char inst_type = bytes[bytes_read++]; -- cgit v1.2.3