r600g/llvm: Use stack_size provided from llvm.

This commit is contained in:
Vincent Lejeune 2013-03-30 02:09:15 +01:00
parent 4ac0d85ca6
commit 8c8c4e3977

View file

@ -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++];