From 8545e39808028f7242ad5b78122a1314a0ba946b Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Fri, 16 Nov 2018 16:01:28 -0800 Subject: [PATCH] iris: Fix TCS/TES slot unification TCS outputs, TES inputs...not TCS inputs Fixes some barrier tests --- src/gallium/drivers/iris/iris_program.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/iris/iris_program.c b/src/gallium/drivers/iris/iris_program.c index a4d46118e44..f4c396465e8 100644 --- a/src/gallium/drivers/iris/iris_program.c +++ b/src/gallium/drivers/iris/iris_program.c @@ -684,8 +684,8 @@ get_unified_tess_slots(const struct iris_context *ice, *per_patch_slots = tes->patch_inputs_read; if (tcs) { - *per_vertex_slots |= tcs->inputs_read; - *per_patch_slots |= tcs->patch_inputs_read; + *per_vertex_slots |= tcs->outputs_written; + *per_patch_slots |= tcs->patch_outputs_written; } } -- 2.30.2