From: Marek Olšák Date: Fri, 17 Nov 2017 16:52:09 +0000 (+0100) Subject: radeonsi: fix a typo in creating monolithic ES-GS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=992b6e18d05a4231069a63ed8663fc11cf1c71cc;p=mesa.git 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 --- diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index 16036e31637..74cea7ad596 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -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);