ac: out-of-order rasterization is not supported on gfx10
authorMarek Olšák <marek.olsak@amd.com>
Thu, 16 Apr 2020 17:32:27 +0000 (13:32 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 24 Apr 2020 10:38:54 +0000 (10:38 +0000)
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4698>

src/amd/common/ac_gpu_info.c

index 9214859..fb39111 100644 (file)
@@ -588,6 +588,7 @@ bool ac_query_gpu_info(int fd, void *dev_p,
                                info->family == CHIP_RENOIR);
 
        info->has_out_of_order_rast = info->chip_class >= GFX8 &&
+                                     info->chip_class <= GFX9 &&
                                      info->max_se >= 2;
 
        /* Whether chips support double rate packed math instructions. */