diff options
Diffstat (limited to 'src/amd/vulkan/radv_shader_args.c')
-rw-r--r-- | src/amd/vulkan/radv_shader_args.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/amd/vulkan/radv_shader_args.c b/src/amd/vulkan/radv_shader_args.c index bcec3e9d2e7..f79d0b2d2ef 100644 --- a/src/amd/vulkan/radv_shader_args.c +++ b/src/amd/vulkan/radv_shader_args.c @@ -695,9 +695,7 @@ radv_declare_shader_args(struct radv_shader_args *args, args->shader_info->num_input_vgprs = 0; args->shader_info->num_input_sgprs = 2; args->shader_info->num_input_sgprs += args->ac.num_sgprs_used; - - if (stage != MESA_SHADER_FRAGMENT) - args->shader_info->num_input_vgprs = args->ac.num_vgprs_used; + args->shader_info->num_input_vgprs = args->ac.num_vgprs_used; uint8_t user_sgpr_idx = 0; |