From 8aba8cf513a0856415e2389b729b76417cd89584 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 23 Oct 2015 10:53:00 -0700 Subject: anv/pipeline: Use separate-shader --- src/vulkan/anv_pipeline.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/vulkan/anv_pipeline.c') 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. */ -- cgit v1.2.3