From: Jason Ekstrand Date: Fri, 23 Oct 2015 17:53:00 +0000 (-0700) Subject: anv/pipeline: Use separate-shader X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8aba8cf513a0856415e2389b729b76417cd89584;p=mesa.git anv/pipeline: Use separate-shader --- 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. */