mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-17 21:48:22 +02:00
radv: Set the user SGPR MSB for Vega.
Otherwise using 32 user SGPRs would be broken.
CC: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
(cherry picked from commit d97c892584)
This commit is contained in:
parent
f354ac60bd
commit
1ab5f8addd
1 changed files with 1 additions and 0 deletions
|
|
@ -409,6 +409,7 @@ radv_fill_shader_variant(struct radv_device *device,
|
|||
|
||||
variant->code_size = radv_get_shader_binary_size(binary);
|
||||
variant->rsrc2 = S_00B12C_USER_SGPR(variant->info.num_user_sgprs) |
|
||||
S_00B12C_USER_SGPR_MSB(variant->info.num_user_sgprs >> 5) |
|
||||
S_00B12C_SCRATCH_EN(scratch_enabled);
|
||||
|
||||
variant->rsrc1 = S_00B848_VGPRS((variant->config.num_vgprs - 1) / 4) |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue