mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-27 00:20:30 +01:00
radv/gfx10: Use GS rectlist when needed.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
parent
ee21bd7440
commit
817bd0cc2e
1 changed files with 2 additions and 0 deletions
|
|
@ -4164,6 +4164,8 @@ radv_pipeline_init(struct radv_pipeline *pipeline,
|
|||
prim = V_008958_DI_PT_RECTLIST;
|
||||
gs_out = V_028A6C_OUTPRIM_TYPE_TRISTRIP;
|
||||
pipeline->graphics.can_use_guardband = true;
|
||||
if (radv_pipeline_has_ngg(pipeline))
|
||||
gs_out = V_028A6C_VGT_OUT_RECT_V0;
|
||||
}
|
||||
pipeline->graphics.prim_restart_enable = !!pCreateInfo->pInputAssemblyState->primitiveRestartEnable;
|
||||
/* prim vertex count will need TESS changes */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue