From e5f4527f20dfa0ebfa9f76f5a83c7915d8d97263 Mon Sep 17 00:00:00 2001 From: Jonathan Marek Date: Tue, 14 Jul 2020 08:55:32 -0400 Subject: [PATCH] freedreno/ir3: fix wrong local_primitive_id_start type When changing the patch to use an offset instead of a bool, the type was accidentally left as bool. Fixes: f472c9844309 ("freedreno/ir3: add support for a650 tess shared storage") Signed-off-by: Jonathan Marek Part-of: --- src/freedreno/ir3/ir3_nir_lower_tess.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedreno/ir3/ir3_nir_lower_tess.c b/src/freedreno/ir3/ir3_nir_lower_tess.c index e084f99..730b550 100644 --- a/src/freedreno/ir3/ir3_nir_lower_tess.c +++ b/src/freedreno/ir3/ir3_nir_lower_tess.c @@ -44,7 +44,7 @@ struct state { struct exec_list emit_outputs; /* tess ctrl shader on a650 gets the local primitive id at different bits: */ - bool local_primitive_id_start; + unsigned local_primitive_id_start; }; static nir_ssa_def * -- 2.7.4