mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-09 23:08:18 +02:00
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:
parent
88577c5e54
commit
887c04239f
1 changed files with 0 additions and 8 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue