anv: Drop TES dispatch mode asserts

SIMD4x2 mode is only supported by elk which anv doesn't use.  iris
doesn't check this.  Eventually we should probably just demote the
dispatch_mode field to the stages that still need it.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41821>
This commit is contained in:
Kenneth Graunke 2026-05-26 19:57:46 -07:00 committed by Marge Bot
parent 88577c5e54
commit 887c04239f

View file

@ -734,15 +734,7 @@ emit_ds_shader(struct anv_batch *batch,
ds.DispatchGRFStartRegisterForURBData =
tes_prog_data->base.base.dispatch_grf_start_reg;
#if GFX_VER < 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 == INTEL_DISPATCH_MODE_SIMD8);
ds.DispatchMode = DISPATCH_MODE_SIMD8_SINGLE_PATCH;
#endif
ds.UserClipDistanceClipTestEnableBitmask =
tes_prog_data->base.clip_distance_mask;