mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
aco: Use as_vgpr for the second source of mbcnt_amd.
Fixes: 1e49018ced
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11292>
This commit is contained in:
parent
3a643a9ce1
commit
18337fbcf2
1 changed files with 1 additions and 1 deletions
|
|
@ -8380,7 +8380,7 @@ void visit_intrinsic(isel_context *ctx, nir_intrinsic_instr *instr)
|
|||
}
|
||||
case nir_intrinsic_mbcnt_amd: {
|
||||
Temp src = get_ssa_temp(ctx, instr->src[0].ssa);
|
||||
Temp add_src = get_ssa_temp(ctx, instr->src[1].ssa);
|
||||
Temp add_src = as_vgpr(ctx, get_ssa_temp(ctx, instr->src[1].ssa));
|
||||
Temp dst = get_ssa_temp(ctx, &instr->dest.ssa);
|
||||
/* Fit 64-bit mask for wave32 */
|
||||
src = emit_extract_vector(ctx, src, 0, RegClass(src.type(), bld.lm.size()));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue