radeonsi/gfx10: initialize EXEC for TES-as-NGG (without geometry shader)

Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
Nicolai Hähnle 2018-08-31 19:59:36 +02:00 committed by Marek Olšák
parent 591537c7fa
commit 2492cfde66
1 changed files with 3 additions and 1 deletions

View File

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