From: Kristian Høgsberg Kristensen Date: Thu, 11 Jun 2015 22:07:38 +0000 (-0700) Subject: vk: Stop asserting we have a fragment shader X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=405697eb3d3a08c5718dd7ec6a36dd8c416bd9b4;p=mesa.git vk: Stop asserting we have a fragment shader Even for graphics, this is not a requirement, we can have a depth-only output pipeline. --- 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])