radv: add missing unreachable
authorGrigori Goronzy <greg@chown.ath.cx>
Tue, 11 Oct 2016 22:47:18 +0000 (00:47 +0200)
committerDave Airlie <airlied@redhat.com>
Tue, 11 Oct 2016 23:00:22 +0000 (09:00 +1000)
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_descriptor_set.c

index d1d2b1f4ce954b00b40dbbabd2e543e8986eaaf0..ba8a002929a4a28fc6281e8afb162ce557e1c88f 100644 (file)
@@ -113,6 +113,7 @@ VkResult radv_CreateDescriptorSetLayout(
                        alignment = 16;
                        break;
                default:
+                       unreachable("unknown descriptor type\n");
                        break;
                }