projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
097a6ec
)
r600g/llvm: Do not override llvm provided stack_size
author
Vincent Lejeune
<vljn@ovi.com>
Wed, 3 Apr 2013 16:39:18 +0000
(18:39 +0200)
committer
Vincent Lejeune
<vljn@ovi.com>
Wed, 3 Apr 2013 16:39:49 +0000
(18:39 +0200)
src/gallium/drivers/r600/r600_asm.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_asm.c
b/src/gallium/drivers/r600/r600_asm.c
index c88b48dc96b953c7d523e611ca13cd906ebeb2cc..a0dc1deb8eba7d2e0b0a4ccdab52cf66b3c05cc0 100644
(file)
--- a/
src/gallium/drivers/r600/r600_asm.c
+++ b/
src/gallium/drivers/r600/r600_asm.c
@@
-1557,7
+1557,8
@@
int r600_bytecode_build(struct r600_bytecode *bc)
unsigned addr;
int i, r;
- bc->nstack = bc->stack.max_entries;
+ if (!bc->nstack) // If not 0, Stack_size already provided by llvm
+ bc->nstack = bc->stack.max_entries;
if (bc->type == TGSI_PROCESSOR_VERTEX && !bc->nstack) {
bc->nstack = 1;