ac/radv/radeonsi: add ac_get_num_physical_sgprs() helper
[mesa.git] / src / amd / vulkan / radv_shader.h
index 3652a811e80491a8e2f3c746fd91bb6f9b92b108..b67cd2b4f158ddedd9e47dccd6abda12ec0d2dad 100644 (file)
@@ -407,10 +407,4 @@ static inline unsigned shader_io_get_unique_index(gl_varying_slot slot)
        unreachable("illegal slot in get unique index\n");
 }
 
-static inline uint32_t
-radv_get_num_physical_sgprs(struct radv_physical_device *physical_device)
-{
-       return physical_device->rad_info.chip_class >= VI ? 800 : 512;
-}
-
 #endif