summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_pipe.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-01-27 00:29:53 +0100
committerMarek Olšák <[email protected]>2016-02-21 21:08:57 +0100
commit70de433dea31c75a2e3f02ba3e060634ee66730d (patch)
treed3caabee2aaa27fd8512f878cbf8b34a31eb2b5e /src/gallium/drivers/radeonsi/si_pipe.h
parent19a92886a8c495c1bd7816faf974967776488f05 (diff)
radeonsi: add VS prolog
This is disabled with use_monolithic_shaders = true. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h
index 2a2455c6913..f4bafc271ef 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.h
+++ b/src/gallium/drivers/radeonsi/si_pipe.h
@@ -87,6 +87,9 @@ struct si_screen {
/* Whether shaders are monolithic (1-part) or separate (3-part). */
bool use_monolithic_shaders;
+
+ pipe_mutex shader_parts_mutex;
+ struct si_shader_part *vs_prologs;
};
struct si_blend_color {