aco,radv: remove unused aco_shader_info fields
authorQiang Yu <yuq825@gmail.com>
Fri, 28 Apr 2023 07:36:43 +0000 (15:36 +0800)
committerMarge Bot <emma+marge@anholt.net>
Fri, 2 Jun 2023 09:21:58 +0000 (09:21 +0000)
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23094>

src/amd/compiler/aco_shader_info.h
src/amd/vulkan/radv_aco_shader_info.h

index b25c681..071035f 100644 (file)
@@ -88,10 +88,7 @@ struct aco_shader_info {
       bool as_ls;
       bool tcs_in_out_eq;
       uint64_t tcs_temp_only_input_mask;
-      bool use_per_attribute_vb_descs;
-      uint32_t input_slot_usage_mask;
       bool has_prolog;
-      bool dynamic_inputs;
    } vs;
    struct {
       uint8_t output_usage_mask[VARYING_SLOT_VAR31 + 1];
index 0c111b8..fa64c41 100644 (file)
@@ -52,10 +52,7 @@ radv_aco_convert_shader_info(struct aco_shader_info *aco_info, const struct radv
    ASSIGN_FIELD(vs.as_ls);
    ASSIGN_FIELD(vs.tcs_in_out_eq);
    ASSIGN_FIELD(vs.tcs_temp_only_input_mask);
-   ASSIGN_FIELD(vs.use_per_attribute_vb_descs);
-   ASSIGN_FIELD(vs.input_slot_usage_mask);
    ASSIGN_FIELD(vs.has_prolog);
-   ASSIGN_FIELD(vs.dynamic_inputs);
    ASSIGN_FIELD_CP(gs.output_usage_mask);
    ASSIGN_FIELD_CP(gs.num_stream_output_components);
    ASSIGN_FIELD_CP(gs.output_streams);