Add another const to arrays of strings in renamer.cc

These were triggering the "mutable constants" check on the
android binary size bot.

https://logs.chromium.org/logs/chromium/buildbucket/cr-buildbucket/8792318173224229089/+/u/Trybot_Results/Mutable_Constants_Diff

Bug: dawn:286
Change-Id: I91d823edb14335cbb5139ef0e7723b2d360d1ebc
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/116801
Auto-Submit: Brandon Jones <bajones@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
This commit is contained in:
Brandon Jones 2023-01-12 11:44:40 +00:00 committed by Dawn LUCI CQ
parent c2c5dff0a4
commit 1f9e50edd4
1 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ namespace tint::transform {
namespace {
// This list is used for a binary search and must be kept in sorted order.
const char* kReservedKeywordsGLSL[] = {
const char* const kReservedKeywordsGLSL[] = {
"abs",
"acos",
"acosh",
@ -395,7 +395,7 @@ const char* kReservedKeywordsGLSL[] = {
};
// This list is used for a binary search and must be kept in sorted order.
const char* kReservedKeywordsHLSL[] = {
const char* const kReservedKeywordsHLSL[] = {
"AddressU",
"AddressV",
"AddressW",
@ -969,7 +969,7 @@ const char* kReservedKeywordsHLSL[] = {
};
// This list is used for a binary search and must be kept in sorted order.
const char* kReservedKeywordsMSL[] = {
const char* const kReservedKeywordsMSL[] = {
"HUGE_VALF",
"HUGE_VALH",
"INFINITY",