iris: Fix TCS/TES slot unification
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 17 Nov 2018 00:01:28 +0000 (16:01 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:10 +0000 (10:26 -0800)
TCS outputs, TES inputs...not TCS inputs

Fixes some barrier tests

src/gallium/drivers/iris/iris_program.c

index a4d46118e44a1c97f31cb063bc4cca3eb69582b7..f4c396465e8285cc918c53757d4cc4375516b936 100644 (file)
@@ -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;
    }
 }