From: Jonathan Marek Date: Tue, 14 Jul 2020 12:55:32 +0000 (-0400) Subject: freedreno/ir3: fix wrong local_primitive_id_start type X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e5f4527f20dfa0ebfa9f76f5a83c7915d8d97263;p=mesa.git 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: --- diff --git a/src/freedreno/ir3/ir3_nir_lower_tess.c b/src/freedreno/ir3/ir3_nir_lower_tess.c index e084f99402d..730b550230d 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 *