radv: constify radv_shader_info in radv_declare_shader_args()

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/13542>
This commit is contained in:
Samuel Pitoiset 2021-11-29 09:29:58 +01:00 committed by Marge Bot
parent 096c02bcf5
commit 5a94271069
2 changed files with 2 additions and 2 deletions

View file

@ -514,7 +514,7 @@ is_pre_gs_stage(gl_shader_stage stage)
void
radv_declare_shader_args(const struct radv_nir_compiler_options *options,
struct radv_shader_info *info, gl_shader_stage stage,
const struct radv_shader_info *info, gl_shader_stage stage,
bool has_previous_stage, gl_shader_stage previous_stage,
struct radv_shader_args *args)
{

View file

@ -64,6 +64,6 @@ struct radv_nir_compiler_options;
struct radv_shader_info;
void radv_declare_shader_args(const struct radv_nir_compiler_options *options,
struct radv_shader_info *info, gl_shader_stage stage,
const struct radv_shader_info *info, gl_shader_stage stage,
bool has_previous_stage, gl_shader_stage previous_stage,
struct radv_shader_args *args);