radv: remove the non conformant VK implementation warning on GFX10
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 28 Jan 2020 13:49:16 +0000 (14:49 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Jan 2020 10:35:15 +0000 (10:35 +0000)
It's no longer true.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3597>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3597>

src/amd/vulkan/radv_device.c

index 519b7fa06cc08eeac756c5a9fce24e34fd603d30..600a740ae291a08966e99efa02397b64d0efaf37 100644 (file)
@@ -422,8 +422,7 @@ radv_physical_device_init(struct radv_physical_device *device,
        disk_cache_format_hex_id(buf, device->cache_uuid, VK_UUID_SIZE * 2);
        device->disk_cache = disk_cache_create(device->name, buf, shader_env_flags);
 
-       if (device->rad_info.chip_class < GFX8 ||
-           device->rad_info.chip_class > GFX9)
+       if (device->rad_info.chip_class < GFX8)
                fprintf(stderr, "WARNING: radv is not a conformant vulkan implementation, testing use only.\n");
 
        radv_get_driver_uuid(&device->driver_uuid);