diff options
author | Bas Nieuwenhuizen <[email protected]> | 2018-03-07 16:38:32 +0100 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2018-03-07 21:18:35 +0100 |
commit | 034cce96b4337bb497394b41b1530bedb8923439 (patch) | |
tree | 4fc1ce7fffa0efb77b9028c5a45b9eee3c863c8d /src | |
parent | 04d65d2b76e2751435d3e932fbd18329491fcda3 (diff) |
radv: Don't emit a warning on VI-GFX9.
We are conformant:
https://www.khronos.org/conformance/adopters/conformant-products#submission_308
v2: Actually not emit it on gfx9.
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 5da42a87df8..7a11e08f97c 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -280,7 +280,9 @@ 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); - fprintf(stderr, "WARNING: radv is not a conformant vulkan implementation, testing use only.\n"); + if (device->rad_info.chip_class < VI || + device->rad_info.chip_class > GFX9) + fprintf(stderr, "WARNING: radv is not a conformant vulkan implementation, testing use only.\n"); radv_get_driver_uuid(&device->device_uuid); radv_get_device_uuid(&device->rad_info, &device->device_uuid); |