aco: add fetch_inactive field to DPP instructions
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Georg Lehmann <dadschoorse@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25525>
This commit is contained in:
@@ -456,11 +456,13 @@ convert_to_DPP(amd_gfx_level gfx_level, aco_ptr<Instruction>& instr, bool dpp8)
|
||||
if (dpp8) {
|
||||
DPP8_instruction* dpp = &instr->dpp8();
|
||||
dpp->lane_sel = 0xfac688; /* [0,1,2,3,4,5,6,7] */
|
||||
dpp->fetch_inactive = gfx_level >= GFX10;
|
||||
} else {
|
||||
DPP16_instruction* dpp = &instr->dpp16();
|
||||
dpp->dpp_ctrl = dpp_quad_perm(0, 1, 2, 3);
|
||||
dpp->row_mask = 0xf;
|
||||
dpp->bank_mask = 0xf;
|
||||
dpp->fetch_inactive = gfx_level >= GFX10;
|
||||
}
|
||||
|
||||
instr->valu().neg = tmp->valu().neg;
|
||||
|
||||
Reference in New Issue
Block a user