diff options
author | Marek Olšák <[email protected]> | 2018-05-02 19:04:10 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-05-10 18:40:00 -0400 |
commit | 14c5a93bfabdc6543b504a0e7ed658e215b4eedb (patch) | |
tree | 93b8dcc4d1c220232f85f8ad4c5be3d4ccb26afa /src/gallium/winsys/radeon/drm | |
parent | 2bd2c173e8e2fe9c9a589e9944a03672336fe0c6 (diff) |
ac/gpu_info: add has_format_bc1_through_bc7
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/winsys/radeon/drm')
-rw-r--r-- | src/gallium/winsys/radeon/drm/radeon_drm_winsys.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c index 1eecb23d9dd..108c1af9985 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c +++ b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c @@ -537,6 +537,7 @@ static bool do_winsys_init(struct radeon_drm_winsys *ws) ws->info.has_gpu_reset_status_query = false; ws->info.has_gpu_reset_counter_query = ws->info.drm_minor >= 43; ws->info.has_eqaa_surface_allocator = false; + ws->info.has_format_bc1_through_bc7 = ws->info.drm_minor >= 31; ws->check_vm = strstr(debug_get_option("R600_DEBUG", ""), "check_vm") != NULL; |