summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_shader.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2018-05-14 16:04:35 +0200
committerSamuel Pitoiset <[email protected]>2018-05-14 21:38:21 +0200
commit560bd9eb67fb24b05816c3afb9a47794eddb61aa (patch)
tree76f4eb3ca9f4eac998c7f2b529f1bb8d00d7f0b4 /src/amd/vulkan/radv_shader.h
parentea43d935ab765575994557d1f923b570d4bd9085 (diff)
radv: scan the geometry shader output usage mask
For reducing the number of parameters that are exported by the GS copy shader. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_shader.h')
-rw-r--r--src/amd/vulkan/radv_shader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_shader.h b/src/amd/vulkan/radv_shader.h
index b711cba80cf..679fa442798 100644
--- a/src/amd/vulkan/radv_shader.h
+++ b/src/amd/vulkan/radv_shader.h
@@ -159,6 +159,9 @@ struct radv_shader_info {
} vs;
struct {
uint8_t output_usage_mask[VARYING_SLOT_VAR31 + 1];
+ } gs;
+ struct {
+ uint8_t output_usage_mask[VARYING_SLOT_VAR31 + 1];
} tes;
struct {
bool force_persample;