Mesa (master): freedreno/ir3: fix wrong local_primitive_id_start type

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jul 27 12:35:40 UTC 2020


Module: Mesa
Branch: master
Commit: e5f4527f20dfa0ebfa9f76f5a83c7915d8d97263
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e5f4527f20dfa0ebfa9f76f5a83c7915d8d97263

Author: Jonathan Marek <jonathan at marek.ca>
Date:   Tue Jul 14 08:55:32 2020 -0400

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 <jonathan at marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5765>

---

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



More information about the mesa-commit mailing list