summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_shader.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2018-09-13 15:39:43 +0200
committerSamuel Pitoiset <[email protected]>2018-10-29 17:09:08 +0100
commit8e428e24a833175c108e4151676a85a31bd99efd (patch)
treef17831e1da7b4d95a7b457a2c7fb150e31e87ab6 /src/amd/vulkan/radv_shader.h
parentdd996d1885a092027153c992be7c9919ea9a3792 (diff)
radv: gather which GS stream is used for every outputs
To only emit outputs for the given stream. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_shader.h')
-rw-r--r--src/amd/vulkan/radv_shader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_shader.h b/src/amd/vulkan/radv_shader.h
index c199b3c27af..6511538dace 100644
--- a/src/amd/vulkan/radv_shader.h
+++ b/src/amd/vulkan/radv_shader.h
@@ -160,6 +160,7 @@ struct radv_shader_info {
struct {
uint8_t output_usage_mask[VARYING_SLOT_VAR31 + 1];
uint8_t num_stream_output_components[4];
+ uint8_t output_streams[VARYING_SLOT_VAR31 + 1];
uint8_t max_stream;
} gs;
struct {