From: Kenneth Graunke Date: Sat, 17 Nov 2018 00:01:28 +0000 (-0800) Subject: iris: Fix TCS/TES slot unification X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8545e39808028f7242ad5b78122a1314a0ba946b;p=mesa.git iris: Fix TCS/TES slot unification TCS outputs, TES inputs...not TCS inputs Fixes some barrier tests --- 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; } }