diff options
author | Vincent Lejeune <[email protected]> | 2013-04-19 20:10:44 +0200 |
---|---|---|
committer | Vincent Lejeune <[email protected]> | 2013-04-23 19:52:29 +0200 |
commit | edd90a19ca2a13b8694f2560e77c9f02446cfaa7 (patch) | |
tree | 4b0610cfebff13cc7a2ffac6bcde942fedc9d21d /src/gallium/drivers/r600/r600_llvm.c | |
parent | a7f73f5155d1b36bf493a70639ca9bcb023beba3 (diff) |
r600/llvm: Read stacksize from config header
Diffstat (limited to 'src/gallium/drivers/r600/r600_llvm.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_llvm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_llvm.c b/src/gallium/drivers/r600/r600_llvm.c index 35d6c9015d7..8344fb02509 100644 --- a/src/gallium/drivers/r600/r600_llvm.c +++ b/src/gallium/drivers/r600/r600_llvm.c @@ -556,6 +556,7 @@ unsigned r600_llvm_compile( unsigned * inst_byte_count, enum radeon_family family, unsigned *ngpr, + unsigned *stack_size, unsigned dump) { unsigned r; @@ -565,6 +566,7 @@ unsigned r600_llvm_compile( *inst_bytes = binary.code; *inst_byte_count = binary.code_size; *ngpr = util_le32_to_cpu(*(uint32_t*)binary.config); + *stack_size = util_le32_to_cpu(*(uint32_t*)binary.config + 4); return r; } |