freedreno/ir3: fix wrong local_primitive_id_start type
authorJonathan Marek <jonathan@marek.ca>
Tue, 14 Jul 2020 12:55:32 +0000 (08:55 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 27 Jul 2020 12:17:38 +0000 (12:17 +0000)
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 <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5765>

src/freedreno/ir3/ir3_nir_lower_tess.c

index e084f99402de8e92b82766eeb1947ab2a7cba68d..730b550230d24c404af17e78d40d543cec0ee30f 100644 (file)
@@ -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 *