From 8d95f584da1f208a41da860ab5c51e38be06df6c Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 19 Sep 2024 20:51:12 -0400 Subject: [PATCH] libagx: simplify tcs out calc Signed-off-by: Alyssa Rosenzweig Part-of: --- src/asahi/lib/shaders/geometry.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/asahi/lib/shaders/geometry.h b/src/asahi/lib/shaders/geometry.h index 67896b519a9..54c9576a2dc 100644 --- a/src/asahi/lib/shaders/geometry.h +++ b/src/asahi/lib/shaders/geometry.h @@ -274,8 +274,8 @@ static inline uint libagx_tcs_out_stride(uint nr_patch_out, uint out_patch_size, uint64_t vtx_out_mask) { - return libagx_tcs_out_offs(out_patch_size, VARYING_SLOT_VAR0, nr_patch_out, - out_patch_size, vtx_out_mask); + return libagx_tcs_out_offs(out_patch_size, 0, nr_patch_out, out_patch_size, + vtx_out_mask); } /* In a tess eval shader, stride for hw vertex ID */