mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 15:58:05 +02:00
r600/asm: enable nstack check for tess ctrl/eval shaders.
This just makes sure they register at least one stack usage frame like vertex shaders. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
bb44c1f036
commit
e7ce9e3bb8
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue