mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 05:20:09 +01:00
radv/winsys: set has_distributed_tess for null winsys
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33978>
This commit is contained in:
parent
ee0be147b9
commit
0619cc45b7
1 changed files with 5 additions and 2 deletions
|
|
@ -97,8 +97,8 @@ radv_null_winsys_query_info(struct radeon_winsys *rws, struct radeon_info *gpu_i
|
|||
}
|
||||
|
||||
gpu_info->pci_id = pci_ids[gpu_info->family].pci_id;
|
||||
gpu_info->max_se = 4;
|
||||
gpu_info->num_se = 4;
|
||||
gpu_info->max_se = pci_ids[gpu_info->family].has_dedicated_vram ? 4 : 1;
|
||||
gpu_info->num_se = gpu_info->max_se;
|
||||
if (gpu_info->gfx_level >= GFX10_3)
|
||||
gpu_info->max_waves_per_simd = 16;
|
||||
else if (gpu_info->gfx_level >= GFX10)
|
||||
|
|
@ -142,6 +142,9 @@ radv_null_winsys_query_info(struct radeon_winsys *rws, struct radeon_info *gpu_i
|
|||
|
||||
gpu_info->has_image_load_dcc_bug = gpu_info->family == CHIP_NAVI23 || gpu_info->family == CHIP_VANGOGH;
|
||||
|
||||
gpu_info->has_distributed_tess =
|
||||
gpu_info->gfx_level >= GFX10 || (gpu_info->gfx_level >= GFX8 && gpu_info->max_se >= 2);
|
||||
|
||||
gpu_info->has_accelerated_dot_product =
|
||||
gpu_info->family == CHIP_VEGA20 ||
|
||||
(gpu_info->family >= CHIP_MI100 && gpu_info->family != CHIP_NAVI10 && gpu_info->family != CHIP_GFX1013);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue