radeonsi: fix redundant initializations

See https://gitlab.freedesktop.org/mesa/mesa/-/issues/3966

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7846>
This commit is contained in:
Pierre-Eric Pelloux-Prayer 2020-12-18 15:48:05 +01:00 committed by Marge Bot
parent b1c7a65815
commit 094ab8bc12
2 changed files with 0 additions and 4 deletions

View File

@ -107,8 +107,6 @@ static void get_pic_control_param(struct rvce_encoder *enc, struct pipe_h264_enc
enc->enc_pic.pc.enc_num_default_active_ref_l1 = 0x00000001;
enc->enc_pic.pc.enc_cabac_enable = pic->pic_ctrl.enc_cabac_enable;
enc->enc_pic.pc.enc_constraint_set_flags = pic->pic_ctrl.enc_constraint_set_flags;
enc->enc_pic.pc.enc_num_default_active_ref_l0 = 0x00000001;
enc->enc_pic.pc.enc_num_default_active_ref_l1 = 0x00000001;
}
static void get_task_info_param(struct rvce_encoder *enc)

View File

@ -796,8 +796,6 @@ static void si_dump_descriptors(struct si_context *sctx, gl_shader_stage stage,
} else {
enabled_constbuf =
sctx->const_and_shader_buffers[processor].enabled_mask >> SI_NUM_SHADER_BUFFERS;
enabled_shaderbuf = sctx->const_and_shader_buffers[processor].enabled_mask &
u_bit_consecutive64(0, SI_NUM_SHADER_BUFFERS);
enabled_shaderbuf = 0;
for (int i = 0; i < SI_NUM_SHADER_BUFFERS; i++) {
enabled_shaderbuf |=