From: Anuj Phogat Date: Fri, 26 May 2017 22:40:55 +0000 (-0700) Subject: anv/icl: Don't use DISPATCH_MODE_SIMD4X2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a86c0a08df1bbd65374fa9fc42c289329ca5e70a;p=mesa.git anv/icl: Don't use DISPATCH_MODE_SIMD4X2 Signed-off-by: Anuj Phogat Reviewed-by: Jason Ekstrand --- diff --git a/src/intel/vulkan/genX_pipeline.c b/src/intel/vulkan/genX_pipeline.c index 85391c93cad..89cbe293b86 100644 --- a/src/intel/vulkan/genX_pipeline.c +++ b/src/intel/vulkan/genX_pipeline.c @@ -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;