mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
ac: Add has_zero_index_buffer_bug to ac_gpu_info
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9429>
This commit is contained in:
parent
dad3cda66c
commit
ec34a9a889
2 changed files with 4 additions and 0 deletions
|
|
@ -805,6 +805,9 @@ bool ac_query_gpu_info(int fd, void *dev_p, struct radeon_info *info,
|
||||||
|
|
||||||
info->has_ls_vgpr_init_bug = info->family == CHIP_VEGA10 || info->family == CHIP_RAVEN;
|
info->has_ls_vgpr_init_bug = info->family == CHIP_VEGA10 || info->family == CHIP_RAVEN;
|
||||||
|
|
||||||
|
/* Drawing from 0-sized index buffers causes hangs on Navi10/14. */
|
||||||
|
info->has_zero_index_buffer_bug = info->family == CHIP_NAVI10 || info->family == CHIP_NAVI14;
|
||||||
|
|
||||||
/* Support for GFX10.3 was added with F32_ME_FEATURE_VERSION_31 but the
|
/* Support for GFX10.3 was added with F32_ME_FEATURE_VERSION_31 but the
|
||||||
* firmware version wasn't bumped.
|
* firmware version wasn't bumped.
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -75,6 +75,7 @@ struct radeon_info {
|
||||||
bool has_tc_compat_zrange_bug;
|
bool has_tc_compat_zrange_bug;
|
||||||
bool has_msaa_sample_loc_bug;
|
bool has_msaa_sample_loc_bug;
|
||||||
bool has_ls_vgpr_init_bug;
|
bool has_ls_vgpr_init_bug;
|
||||||
|
bool has_zero_index_buffer_bug;
|
||||||
bool has_32bit_predication;
|
bool has_32bit_predication;
|
||||||
bool has_3d_cube_border_color_mipmap;
|
bool has_3d_cube_border_color_mipmap;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue