diff options
Diffstat (limited to 'src/vulkan')
-rw-r--r-- | src/vulkan/anv_pipeline.c | 3 |
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. */ |