anv/pipeline: Use separate-shader

This commit is contained in:
Jason Ekstrand
2015-10-23 10:53:00 -07:00
parent 760c4b894d
commit 8aba8cf513
+3
View File
@@ -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.
*/