summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-11-17 17:52:09 +0100
committerMarek Olšák <[email protected]>2017-11-25 17:16:56 +0100
commit992b6e18d05a4231069a63ed8663fc11cf1c71cc (patch)
tree7f1ac4b2b5f6307384d57a2a0de4beea704dc486 /src
parentf783677a82e08a7510da22809548863e3620a103 (diff)
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 <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/radeonsi/si_shader.c2
1 files changed, 1 insertions, 1 deletions
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);