summaryrefslogtreecommitdiffstats
path: root/src/vulkan
diff options
context:
space:
mode:
authorKristian Høgsberg Kristensen <[email protected]>2015-06-11 15:07:38 -0700
committerKristian Høgsberg Kristensen <[email protected]>2015-06-11 15:07:38 -0700
commit405697eb3d3a08c5718dd7ec6a36dd8c416bd9b4 (patch)
tree71eb4d601d9f596a33bfecab60308f21284f3efe /src/vulkan
parente7edde60ba2ec1e9a98641a7926ad847df10f73c (diff)
vk: Stop asserting we have a fragment shader
Even for graphics, this is not a requirement, we can have a depth-only output pipeline.
Diffstat (limited to 'src/vulkan')
-rw-r--r--src/vulkan/compiler.cpp2
1 files changed, 0 insertions, 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])