projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb44c1f
)
r600/asm: enable nstack check for tess ctrl/eval shaders.
author
Dave Airlie
<airlied@redhat.com>
Mon, 30 Nov 2015 06:06:20 +0000
(16:06 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Sun, 6 Dec 2015 23:59:02 +0000
(09:59 +1000)
This just makes sure they register at least one stack
usage frame like vertex shaders.
Signed-off-by: Dave Airlie <airlied@redhat.com>
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 05270119c8da47d9abce8fb567edddb66d303232..77bd768356d760e2a9a84cbe1ecb9ae2f705093e 100644
(file)
--- a/
src/gallium/drivers/r600/r600_asm.c
+++ b/
src/gallium/drivers/r600/r600_asm.c
@@
-1690,7
+1690,7
@@
int r600_bytecode_build(struct r600_bytecode *bc)
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) {
+ if (
(bc->type == TGSI_PROCESSOR_VERTEX || bc->type == TGSI_PROCESSOR_TESS_EVAL || bc->type == TGSI_PROCESSOR_TESS_CTRL)
&& !bc->nstack) {
bc->nstack = 1;
}