VGPR allocation changed on GFX11 and this might have changed how
shared VGPRs work, so it's probably more secure to lower in NIR.
Cc: 22.3 mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19679>
(cherry picked from commit
d255bc8f05dd5f85f7154b0a3d7aaf381b47c199)
"description": "radv: enable lowering of subgroup shuffle in NIR on GFX11+",
"nominated": true,
"nomination_type": 0,
- "resolution": 0,
+ "resolution": 1,
"main_sha": null,
"because_sha": null
},
.lower_subgroup_masks = 1,
.lower_relative_shuffle = 1,
.lower_shuffle_to_32bit = 1,
+ /* TODO: Verify shared VGPRs on GFX11. */
+ .lower_shuffle = device->physical_device->rad_info.gfx_level >= GFX11,
.lower_vote_eq = 1,
.lower_quad_broadcast_dynamic = 1,
.lower_quad_broadcast_dynamic_to_const = gfx7minus,