mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-12-04 22:07:49 +00: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
@ -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…
Reference in New Issue
Block a user