mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
freedreno/a6xx: Make the format table const.
This data never changes. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13046>
This commit is contained in:
parent
4d6f5cd572
commit
1ce837d6f4
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ struct fd6_format {
|
|||
#define V__(pipe, fmt, swapfmt) FMT(pipe, fmt, NONE, NONE, swapfmt)
|
||||
|
||||
/* clang-format off */
|
||||
static struct fd6_format formats[PIPE_FORMAT_COUNT] = {
|
||||
static const struct fd6_format formats[PIPE_FORMAT_COUNT] = {
|
||||
/* 8-bit */
|
||||
VTC(R8_UNORM, 8_UNORM, WZYX),
|
||||
VTC(R8_SNORM, 8_SNORM, WZYX),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue