summaryrefslogtreecommitdiffstats
path: root/src/vulkan
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-10-23 10:53:00 -0700
committerJason Ekstrand <[email protected]>2015-10-23 10:53:00 -0700
commit8aba8cf513a0856415e2389b729b76417cd89584 (patch)
treeb0ad80a9c9d4a649d3586f131bf6d09de7af0e88 /src/vulkan
parent760c4b894db983c42e0aca60af252594af808b2a (diff)
anv/pipeline: Use separate-shader
Diffstat (limited to 'src/vulkan')
-rw-r--r--src/vulkan/anv_pipeline.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vulkan/anv_pipeline.c b/src/vulkan/anv_pipeline.c
index da492d9ee7a..c6d2395cdc4 100644
--- a/src/vulkan/anv_pipeline.c
+++ b/src/vulkan/anv_pipeline.c
@@ -170,6 +170,9 @@ anv_shader_compile_to_nir(struct anv_device *device,
}
nir_validate_shader(nir);
+ /* Vulkan uses the separate-shader linking model */
+ nir->info.separate_shader = true;
+
/* Make sure the provided shader has exactly one entrypoint and that the
* name matches the name that came in from the VkShader.
*/