mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 07:38:10 +02:00
anv: Drop hint if primitive id is required or not
Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13474>
This commit is contained in:
parent
3f33222426
commit
1ee043e662
1 changed files with 3 additions and 0 deletions
|
|
@ -1975,6 +1975,9 @@ emit_3dstate_hs_te_ds(struct anv_graphics_pipeline *pipeline,
|
|||
tes_prog_data->base.cull_distance_mask;
|
||||
#endif
|
||||
|
||||
#if GFX_VER >= 12
|
||||
ds.PrimitiveIDNotRequired = !tes_prog_data->include_primitive_id;
|
||||
#endif
|
||||
#if GFX_VERx10 >= 125
|
||||
ds.ScratchSpaceBuffer = get_scratch_surf(&pipeline->base, tes_bin);
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue