mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 07:48:07 +02:00
panfrost: Constify the rt_fmts arg passed to pan_lower_framebuffer()
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7066>
This commit is contained in:
parent
da132d802b
commit
4441e80355
2 changed files with 2 additions and 2 deletions
|
|
@ -722,7 +722,7 @@ pan_lower_fb_load(nir_shader *shader,
|
|||
}
|
||||
|
||||
bool
|
||||
pan_lower_framebuffer(nir_shader *shader, enum pipe_format *rt_fmts,
|
||||
pan_lower_framebuffer(nir_shader *shader, const enum pipe_format *rt_fmts,
|
||||
bool is_blend, unsigned quirks)
|
||||
{
|
||||
if (shader->info.stage != MESA_SHADER_FRAGMENT)
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ nir_alu_type pan_unpacked_type_for_format(const struct util_format_description *
|
|||
enum pan_format_class pan_format_class_load(const struct util_format_description *desc, unsigned quirks);
|
||||
enum pan_format_class pan_format_class_store(const struct util_format_description *desc, unsigned quirks);
|
||||
|
||||
bool pan_lower_framebuffer(nir_shader *shader, enum pipe_format *rt_fmts,
|
||||
bool pan_lower_framebuffer(nir_shader *shader, const enum pipe_format *rt_fmts,
|
||||
bool is_blend, unsigned quirks);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue