anv/icl: Don't use DISPATCH_MODE_SIMD4X2
authorAnuj Phogat <anuj.phogat@gmail.com>
Fri, 26 May 2017 22:40:55 +0000 (15:40 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Fri, 16 Feb 2018 19:10:32 +0000 (11:10 -0800)
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/genX_pipeline.c

index 85391c93cadf3f300ad37bf8a1534bd9e4fb30fe..89cbe293b860e47c3b479899548119a4cfd0a098 100644 (file)
@@ -1253,10 +1253,15 @@ emit_3dstate_hs_te_ds(struct anv_pipeline *pipeline,
          tes_prog_data->base.base.dispatch_grf_start_reg;
 
 #if GEN_GEN >= 8
+#if GEN_GEN < 11
       ds.DispatchMode =
          tes_prog_data->base.dispatch_mode == DISPATCH_MODE_SIMD8 ?
             DISPATCH_MODE_SIMD8_SINGLE_PATCH :
             DISPATCH_MODE_SIMD4X2;
+#else
+      assert(tes_prog_data->base.dispatch_mode == DISPATCH_MODE_SIMD8);
+      ds.DispatchMode = DISPATCH_MODE_SIMD8_SINGLE_PATCH;
+#endif
 
       ds.UserClipDistanceClipTestEnableBitmask =
          tes_prog_data->base.clip_distance_mask;