projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f783677
)
radeonsi: fix a typo in creating monolithic ES-GS
author
Marek Olšák
<marek.olsak@amd.com>
Fri, 17 Nov 2017 16:52:09 +0000
(17:52 +0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Sat, 25 Nov 2017 16:16:56 +0000
(17:16 +0100)
This has no effect because both occupy the same memory in a union.
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_shader.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_shader.c
b/src/gallium/drivers/radeonsi/si_shader.c
index 16036e3163792ed9332245bc6cf68bd65edbba5e..74cea7ad596d805c019832eea6ee32f1100f8c2b 100644
(file)
--- 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.l
s_prolog,
+ &shader->key.part.
gs.v
s_prolog,
shader, &vs_prolog_key);
vs_prolog_key.vs_prolog.is_monolithic = true;
si_build_vs_prolog_function(&ctx, &vs_prolog_key);