summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_shader.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-04-20 13:06:31 +0200
committerMarek Olšák <[email protected]>2017-04-28 21:47:35 +0200
commited9a51cd3bd1111d8d28386fb85262d4f0d3bf32 (patch)
tree5d2d7fbe47ee5e37ec2e7ae5c200b6d7b246c9ef /src/gallium/drivers/radeonsi/si_shader.h
parentef409378548bba05d2bc441c003a4d1cc3a2991b (diff)
radeonsi/gfx9: 2nd shader of merged shaders should hold a reference of the 1st
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h
index f9ba79f56d6..86bdb4fbe54 100644
--- a/src/gallium/drivers/radeonsi/si_shader.h
+++ b/src/gallium/drivers/radeonsi/si_shader.h
@@ -493,6 +493,7 @@ struct si_shader {
struct si_compiler_ctx_state compiler_ctx_state;
struct si_shader_selector *selector;
+ struct si_shader_selector *previous_stage_sel; /* for refcounting */
struct si_shader *next_variant;
struct si_shader_part *prolog;