summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_shader.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-01-27 00:33:07 +0100
committerMarek Olšák <[email protected]>2016-02-21 21:08:57 +0100
commite1b21696a3c2c23ba401fab58ef042d31f7f6273 (patch)
treedfda3edb5070844e5711a0e91466391cdf629f73 /src/gallium/drivers/radeonsi/si_shader.h
parent70de433dea31c75a2e3f02ba3e060634ee66730d (diff)
radeonsi: add VS epilog
It only exports the primitive ID. Also used by TES when it's compiled as VS. The VS input location of the primitive ID input is v2. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_shader.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h
index e3ba4c7ca04..d7388a4ae91 100644
--- a/src/gallium/drivers/radeonsi/si_shader.h
+++ b/src/gallium/drivers/radeonsi/si_shader.h
@@ -274,6 +274,10 @@ union si_shader_part_key {
unsigned num_input_sgprs:5;
unsigned last_input:4;
} vs_prolog;
+ struct {
+ struct si_vs_epilog_bits states;
+ unsigned prim_id_param_offset:5;
+ } vs_epilog;
};
union si_shader_key {