From: Nicolai Hähnle Date: Fri, 31 Aug 2018 17:59:36 +0000 (+0200) Subject: radeonsi/gfx10: initialize EXEC for TES-as-NGG (without geometry shader) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2492cfde668bf06f2fb2dc2dce9044a250208883;p=mesa.git radeonsi/gfx10: initialize EXEC for TES-as-NGG (without geometry shader) Acked-by: Bas Nieuwenhuizen --- 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 ||