radv: do not declare an extra user SGPR for sample positions and PS
This is part of the scratch buffer. No fossils-db change on Sienna. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13140>
This commit is contained in:
committed by
Marge Bot
parent
dfa4a85ddf
commit
5896bf41ca
@@ -194,7 +194,6 @@ allocate_user_sgprs(struct radv_shader_args *args, gl_shader_stage stage, bool h
|
||||
user_sgpr_count += 3;
|
||||
break;
|
||||
case MESA_SHADER_FRAGMENT:
|
||||
user_sgpr_count += args->shader_info->ps.needs_sample_positions;
|
||||
break;
|
||||
case MESA_SHADER_VERTEX:
|
||||
if (!args->is_gs_copy_shader)
|
||||
|
||||
Reference in New Issue
Block a user