Sfoglia il codice sorgente

r600g/llvm: Do not override llvm provided stack_size

tags/mesa-9.2-rc1
Vincent Lejeune 12 anni fa
parent
commit
159d934066
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2
    1
      src/gallium/drivers/r600/r600_asm.c

+ 2
- 1
src/gallium/drivers/r600/r600_asm.c Vedi File

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

Loading…
Annulla
Salva