anv/pipeline: Pull separate_shader from NIR for vue map setup
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 23 Oct 2015 17:48:52 +0000 (10:48 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 23 Oct 2015 17:48:52 +0000 (10:48 -0700)
src/vulkan/anv_pipeline.c

index 173c9787d91c4581bf6cc7179cf625bb42acf71e..da492d9ee7ab8a67cd8f374105763cc9df3b83d6 100644 (file)
@@ -493,7 +493,7 @@ anv_pipeline_compile_vs(struct anv_pipeline *pipeline,
    brw_compute_vue_map(&pipeline->device->info,
                        &prog_data->base.vue_map,
                        nir->info.outputs_written,
-                       false /* XXX: Do SSO? */);
+                       nir->info.separate_shader);
 
    unsigned code_size;
    const unsigned *shader_code =
@@ -552,7 +552,7 @@ anv_pipeline_compile_gs(struct anv_pipeline *pipeline,
    brw_compute_vue_map(&pipeline->device->info,
                        &prog_data->base.vue_map,
                        nir->info.outputs_written,
-                       false /* XXX: Do SSO? */);
+                       nir->info.separate_shader);
 
    unsigned code_size;
    const unsigned *shader_code =