[Mesa-dev] [PATCH 1/3] radv: add missing unreachable

Grigori Goronzy greg at chown.ath.cx
Tue Oct 11 22:47:18 UTC 2016


---
 src/amd/vulkan/radv_descriptor_set.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/amd/vulkan/radv_descriptor_set.c b/src/amd/vulkan/radv_descriptor_set.c
index d1d2b1f..ba8a002 100644
--- a/src/amd/vulkan/radv_descriptor_set.c
+++ b/src/amd/vulkan/radv_descriptor_set.c
@@ -113,6 +113,7 @@ VkResult radv_CreateDescriptorSetLayout(
 			alignment = 16;
 			break;
 		default:
+			unreachable("unknown descriptor type\n");
 			break;
 		}
 
-- 
2.7.4



More information about the mesa-dev mailing list