From 151d6990ec7164c7e3678bb6032032d49b117c85 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Thu, 29 Aug 2019 11:12:25 +0200 Subject: radv: gather info about PS inputs in the shader info pass It's the right place to do that. Signed-off-by: Samuel Pitoiset Reviewed-by: Dave Airlie --- src/amd/vulkan/radv_shader.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/amd/vulkan/radv_shader.h') diff --git a/src/amd/vulkan/radv_shader.h b/src/amd/vulkan/radv_shader.h index 6c9e0bd239f..b8770b8c999 100644 --- a/src/amd/vulkan/radv_shader.h +++ b/src/amd/vulkan/radv_shader.h @@ -210,6 +210,10 @@ struct radv_shader_info { bool prim_id_input; bool layer_input; uint8_t num_input_clips_culls; + uint32_t input_mask; + uint32_t flat_shaded_mask; + uint32_t float16_shaded_mask; + uint32_t num_interp; } ps; struct { bool uses_grid_size; @@ -270,10 +274,6 @@ struct radv_shader_variant_info { bool export_prim_id; } vs; struct { - unsigned num_interp; - uint32_t input_mask; - uint32_t flat_shaded_mask; - uint32_t float16_shaded_mask; bool can_discard; bool early_fragment_test; bool post_depth_coverage; -- cgit v1.2.3