From 405697eb3d3a08c5718dd7ec6a36dd8c416bd9b4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg=20Kristensen?= Date: Thu, 11 Jun 2015 15:07:38 -0700 Subject: [PATCH] vk: Stop asserting we have a fragment shader Even for graphics, this is not a requirement, we can have a depth-only output pipeline. --- src/vulkan/compiler.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/vulkan/compiler.cpp b/src/vulkan/compiler.cpp index b5a287b622f..28c4874a438 100644 --- a/src/vulkan/compiler.cpp +++ b/src/vulkan/compiler.cpp @@ -923,8 +923,6 @@ anv_compiler_run(struct anv_compiler *compiler, struct anv_pipeline *pipeline) assert(pipeline->shaders[i]->size % 4 == 0); } - assert(pipeline->shaders[VK_SHADER_STAGE_FRAGMENT] != NULL); - if (all_spirv) { for (unsigned i = 0; i < VK_NUM_SHADER_STAGE; i++) { if (pipeline->shaders[i]) -- 2.30.2