diff options
author | Marek Olšák <[email protected]> | 2017-02-14 22:14:55 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-02-18 01:22:08 +0100 |
commit | 054f853035bc3f4c3ff2b0732779fb21775893ef (patch) | |
tree | e331713709212d8d93e0958f423a03589cd1ae71 | |
parent | 1fabb297177069e95ec1bb7053acb32f8ec3e092 (diff) |
radeonsi: sort members of si_shader_key::part
and improve some comments
Reviewed-by: Nicolai Hähnle <[email protected]>
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h index d4b57c97d59..b7cf7ea7dbd 100644 --- a/src/gallium/drivers/radeonsi/si_shader.h +++ b/src/gallium/drivers/radeonsi/si_shader.h @@ -423,10 +423,6 @@ struct si_shader_key { /* Prolog and epilog flags. */ union { struct { - struct si_ps_prolog_bits prolog; - struct si_ps_epilog_bits epilog; - } ps; - struct { struct si_vs_prolog_bits prolog; struct si_vs_epilog_bits epilog; } vs; @@ -439,13 +435,17 @@ struct si_shader_key { struct { struct si_gs_prolog_bits prolog; } gs; + struct { + struct si_ps_prolog_bits prolog; + struct si_ps_epilog_bits epilog; + } ps; } part; /* These two are initially set according to the NEXT_SHADER property, * or guessed if the property doesn't seem correct. */ - unsigned as_es:1; /* export shader */ - unsigned as_ls:1; /* local shader */ + unsigned as_es:1; /* export shader, which precedes GS */ + unsigned as_ls:1; /* local shader, which precedes TCS */ /* Flags for monolithic compilation only. */ union { |