Mesa (master): radv: remove the non conformant VK implementation warning on GFX10

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jan 29 10:53:49 UTC 2020


Module: Mesa
Branch: master
Commit: f53b4defadcf2c5dadbac27c0dd30d6ffcad0dcf
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f53b4defadcf2c5dadbac27c0dd30d6ffcad0dcf

Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Tue Jan 28 14:49:16 2020 +0100

radv: remove the non conformant VK implementation warning on GFX10

It's no longer true.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas at 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 | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index 519b7fa06cc..600a740ae29 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -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);



More information about the mesa-commit mailing list