radeonsi: fix a typo in creating monolithic ES-GS

This has no effect because both occupy the same memory in a union.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
Marek Olšák 2017-11-17 17:52:09 +01:00
parent f783677a82
commit 992b6e18d0
1 changed files with 1 additions and 1 deletions

View File

@ -6549,7 +6549,7 @@ int si_compile_tgsi_shader(struct si_screen *sscreen,
union si_shader_part_key vs_prolog_key;
si_get_vs_prolog_key(&es->info,
shader->info.num_input_sgprs,
&shader->key.part.tcs.ls_prolog,
&shader->key.part.gs.vs_prolog,
shader, &vs_prolog_key);
vs_prolog_key.vs_prolog.is_monolithic = true;
si_build_vs_prolog_function(&ctx, &vs_prolog_key);