diff options
author | Nicolai Hähnle <[email protected]> | 2018-08-31 19:59:36 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-07-03 15:51:13 -0400 |
commit | 2492cfde668bf06f2fb2dc2dce9044a250208883 (patch) | |
tree | 8069753eff240ee8c4a2cf6a7d5ff7cb19cf1bac /src | |
parent | 591537c7fa2aedb7c6dca3c2dd76a3810c94728b (diff) |
radeonsi/gfx10: initialize EXEC for TES-as-NGG (without geometry shader)
Acked-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index a99a58e5675..0b46b5ca627 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -6096,7 +6096,9 @@ static bool si_compile_tgsi_main(struct si_shader_context *ctx) LLVMValueRef num_threads; bool nested_barrier; - if (!shader->is_monolithic) + if (!shader->is_monolithic || + (ctx->type == PIPE_SHADER_TESS_EVAL && + shader->key.as_ngg)) ac_init_exec_full_mask(&ctx->ac); if (ctx->type == PIPE_SHADER_TESS_CTRL || |