anv/pipeline: Pull separate_shader from NIR for vue map setup

This commit is contained in:
Jason Ekstrand 2015-10-23 10:48:52 -07:00
parent ee8c67abe8
commit 760c4b894d

View 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 =