From: Vincent Lejeune Date: Sat, 30 Mar 2013 01:09:15 +0000 (+0100) Subject: r600g/llvm: Use stack_size provided from llvm. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8c8c4e3977e3126d8bb23d1e30e27d869e32c89f;p=mesa.git r600g/llvm: Use stack_size provided from llvm. --- 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++];