Module: Mesa Branch: master Commit: 8c8c4e3977e3126d8bb23d1e30e27d869e32c89f URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c8c4e3977e3126d8bb23d1e30e27d869e32c89f
Author: Vincent Lejeune <v...@ovi.com> Date: Sat Mar 30 02:09:15 2013 +0100 r600g/llvm: Use stack_size provided from llvm. --- src/gallium/drivers/r600/r600_shader.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index c51773a..57cf17b 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++]; _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit